diff options
author | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-05-30 03:04:19 +0000 |
---|---|---|
committer | Miller Puckette <millerpuckette@users.sourceforge.net> | 2005-05-30 03:04:19 +0000 |
commit | 05607e31243e5e85a3801d4513192bb1f2150b14 (patch) | |
tree | 0f810a621cb9967e1e53b349410b0d07be0cea13 /pd/src/x_net.c | |
parent | 47729b52cb85e8a52bf2e6bbf8ee9a810ed331e1 (diff) |
Remembered to update all the edited files. Should now be in sync... will
have to test it though.
svn path=/trunk/; revision=3092
Diffstat (limited to 'pd/src/x_net.c')
-rw-r--r-- | pd/src/x_net.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |