From: Kurt Zeilenga Date: Fri, 6 Nov 1998 03:17:14 +0000 (+0000) Subject: change -1UL to (unsigned long) -1L for NT4 X-Git-Tag: OPENLDAP_REL_ENG_1_1_ALPHA2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5a626774716e5d93bc7f49210d53e8355b5c541;p=thirdparty%2Fopenldap.git change -1UL to (unsigned long) -1L for NT4 --- diff --git a/libraries/libldap/cldap.c b/libraries/libldap/cldap.c index ec99b4f33f..e34b53f78c 100644 --- a/libraries/libldap/cldap.c +++ b/libraries/libldap/cldap.c @@ -111,7 +111,7 @@ cldap_open( char *host, int port ) } } - if ( (address = inet_addr( host )) == -1UL ) { + if ( (address = inet_addr( host )) == (unsigned long) -1L ) { if ( (hp = gethostbyname( host )) == NULL ) { errno = EHOSTUNREACH; continue;