From d5a626774716e5d93bc7f49210d53e8355b5c541 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 6 Nov 1998 03:17:14 +0000 Subject: [PATCH] change -1UL to (unsigned long) -1L for NT4 --- libraries/libldap/cldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5