[PD-cvs] pd/src x_net.c,1.2,1.2.4.1

Thomas Grill xovo at users.sourceforge.net
Mon Nov 8 18:54:04 CET 2004


Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15326/src

Modified Files:
      Tag: devel_0_38
	x_net.c 
Log Message:
avoid MSVC++ compiler warnings

Index: x_net.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/x_net.c,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -C2 -d -r1.2 -r1.2.4.1
*** x_net.c	6 Sep 2004 20:20:36 -0000	1.2
--- x_net.c	8 Nov 2004 17:54:02 -0000	1.2.4.1
***************
*** 82,86 ****
          intarg = 1;
          if (setsockopt(sockfd, IPPROTO_TCP, TCP_NODELAY,
!             &intarg, sizeof(intarg)) < 0)
                  post("setsockopt (TCP_NODELAY) failed\n");
      }
--- 82,86 ----
          intarg = 1;
          if (setsockopt(sockfd, IPPROTO_TCP, TCP_NODELAY,
!             (char *)&intarg, sizeof(intarg)) < 0)
                  post("setsockopt (TCP_NODELAY) failed\n");
      }
***************
*** 274,278 ****
      intarg = 1;
      if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR,
!         &intarg, sizeof(intarg)) < 0)
              post("setsockopt (SO_REUSEADDR) failed\n");
  #endif
--- 274,278 ----
      intarg = 1;
      if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR,
!         (char *)&intarg, sizeof(intarg)) < 0)
              post("setsockopt (SO_REUSEADDR) failed\n");
  #endif
***************
*** 288,292 ****
          intarg = 1;
          if (setsockopt(sockfd, IPPROTO_TCP, TCP_NODELAY,
!             &intarg, sizeof(intarg)) < 0)
                  post("setsockopt (TCP_NODELAY) failed\n");
      }
--- 288,292 ----
          intarg = 1;
          if (setsockopt(sockfd, IPPROTO_TCP, TCP_NODELAY,
!             (char *)&intarg, sizeof(intarg)) < 0)
                  post("setsockopt (TCP_NODELAY) failed\n");
      }





More information about the Pd-cvs mailing list