From: Adam Dickmeiss Date: Thu, 21 Sep 2006 15:55:25 +0000 (+0000) Subject: Change type of optval from long to int for invocation of setsockopt with X-Git-Tag: YAZ.2.1.34~9 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=13f137b81808f6a3359f898614cc988995af3965 Change type of optval from long to int for invocation of setsockopt with the SO_REUSEADDR option. --- 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