From 759db4d4e6b5dbd78657a161bba659847c1f9ec2 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sat, 12 Jul 2003 03:39:29 +0000 Subject: [PATCH] Fix pointer-mismatch bug. --- v7/src/microcode/ntsock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)), -- 2.25.1