From 13f137b81808f6a3359f898614cc988995af3965 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 21 Sep 2006 15:55:25 +0000 Subject: [PATCH] Change type of optval from long to int for invocation of setsockopt with the SO_REUSEADDR option. --- src/tcpip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tcpip.c b/src/tcpip.c index 45b2ad1..a16fe5e 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2006, Index Data ApS * See the file LICENSE for details. * - * $Id: tcpip.c,v 1.30 2006-09-15 09:06:28 adam Exp $ + * $Id: tcpip.c,v 1.31 2006-09-21 15:55:25 adam Exp $ */ /** * \file tcpip.c @@ -565,7 +565,7 @@ static int tcpip_bind(COMSTACK h, void *address, int mode) #ifdef WIN32 BOOL one = 1; #else - unsigned long one = 1; + int one = 1; #endif #if HAVE_GETADDRINFO -- 1.7.10.4