From 05607e31243e5e85a3801d4513192bb1f2150b14 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Mon, 30 May 2005 03:04:19 +0000 Subject: Remembered to update all the edited files. Should now be in sync... will have to test it though. svn path=/trunk/; revision=3092 --- pd/src/x_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pd/src/x_net.c') diff --git a/pd/src/x_net.c b/pd/src/x_net.c index 7fc7ce6a..d4985dfa 100644 --- a/pd/src/x_net.c +++ b/pd/src/x_net.c @@ -81,7 +81,7 @@ static void netsend_connect(t_netsend *x, t_symbol *hostname, { intarg = 1; if (setsockopt(sockfd, IPPROTO_TCP, TCP_NODELAY, - &intarg, sizeof(intarg)) < 0) + (char *)&intarg, sizeof(intarg)) < 0) post("setsockopt (TCP_NODELAY) failed\n"); } memcpy((char *)&server.sin_addr, (char *)hp->h_addr, hp->h_length); @@ -273,7 +273,7 @@ static void *netreceive_new(t_symbol *compatflag, /* ask OS to allow another Pd to repoen this port after we close it. */ intarg = 1; if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, - &intarg, sizeof(intarg)) < 0) + (char *)&intarg, sizeof(intarg)) < 0) post("setsockopt (SO_REUSEADDR) failed\n"); #endif #if 0 @@ -287,7 +287,7 @@ static void *netreceive_new(t_symbol *compatflag, { intarg = 1; if (setsockopt(sockfd, IPPROTO_TCP, TCP_NODELAY, - &intarg, sizeof(intarg)) < 0) + (char *)&intarg, sizeof(intarg)) < 0) post("setsockopt (TCP_NODELAY) failed\n"); } /* assign server port number */ -- cgit v1.2.1