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: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Ftags%2FOPENLDAP_REL_ENG_1_1_ALPHA2;p=openldap 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;