From: Chris Hanson Date: Sat, 12 Jul 2003 03:39:29 +0000 (+0000) Subject: Fix pointer-mismatch bug. X-Git-Tag: 20090517-FFI~1877 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=759db4d4e6b5dbd78657a161bba659847c1f9ec2;p=mit-scheme.git Fix pointer-mismatch bug. --- diff --git a/v7/src/microcode/ntsock.c b/v7/src/microcode/ntsock.c index b64740dc9..a24e2b9c3 100644 --- a/v7/src/microcode/ntsock.c +++ b/v7/src/microcode/ntsock.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: ntsock.c,v 1.17 2003/07/12 03:15:47 cph Exp $ +$Id: ntsock.c,v 1.18 2003/07/12 03:39:29 cph Exp $ Copyright 1997,1998,1999,2001,2002,2003 Massachusetts Institute of Technology @@ -212,7 +212,7 @@ OS_bind_tcp_server_socket (Tchannel channel, void * host, unsigned int port) (setsockopt, ((CHANNEL_SOCKET (channel)), SOL_SOCKET, SO_REUSEADDR, - (&one), + ((void *) (&one)), (sizeof (one)))); VOID_SOCKET_CALL (bind, ((CHANNEL_SOCKET (channel)),