summaryrefslogtreecommitdiff
path: root/xc/lib/Xdmcp/Fill.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/Xdmcp/Fill.c')
-rw-r--r--xc/lib/Xdmcp/Fill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xc/lib/Xdmcp/Fill.c b/xc/lib/Xdmcp/Fill.c
index 4fa8374a3..15470bd86 100644
--- a/xc/lib/Xdmcp/Fill.c
+++ b/xc/lib/Xdmcp/Fill.c
@@ -23,7 +23,7 @@ in this Software without prior written authorization from The Open Group.
* Author: Keith Packard, MIT X Consortium
*/
-/* $XFree86: xc/lib/Xdmcp/Fill.c,v 3.5 1998/10/03 08:42:51 dawes Exp $ */
+/* $XFree86: xc/lib/Xdmcp/Fill.c,v 3.6 2000/05/11 18:14:10 tsi Exp $ */
#ifdef WIN32
#define _WILLWINSOCK_
@@ -88,7 +88,7 @@ XdmcpFill (fd, buffer, from, fromlen)
*fromlen = dataunit.addr.len;
#else
buffer->count = recvfrom (fd, (char*)buffer->data, buffer->size, 0,
- (struct sockaddr *)from, fromlen);
+ (struct sockaddr *)from, (void *)fromlen);
#endif
if (buffer->count < 6) {
buffer->count = 0;