Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[project @ 2003-09-10 09:18:42 by ross]

fix for systems (e.g. Darwin) where msg_control has type char *.
  • Loading branch information...
commit 5c43217e63e511452fb63409473c81484cb4612f 1 parent b46ac32
ross authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 cbits/ancilData.c
View
4 cbits/ancilData.c
@@ -140,7 +140,7 @@ recvFd(int sock)
return -1;
}
- msg.msg_control = cmsg;
+ msg.msg_control = (void *)cmsg;
msg.msg_controllen = CMSG_LEN(len);
#else
fdBuffer = (int*)malloc(len);
@@ -193,7 +193,7 @@ recvAncillary(int sock,
return -1;
}
- msg.msg_control = cmsg;
+ msg.msg_control = (void *)cmsg;
msg.msg_controllen = CMSG_LEN(*pLen);
#else
*pData = (void*)malloc(*pLen);

0 comments on commit 5c43217

Please sign in to comment.
Something went wrong with that request. Please try again.