From 418c49de0c0fcc74d366e80eb5999d953fe00bc5 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 6 Nov 1998 02:04:07 +0000 Subject: [PATCH] MSVC5 does like -1UL... replaced with (unsigned long) -1L --- 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 46d9db86b8..bf77d44ba5 100644 --- a/libraries/libldap/cldap.c +++ b/libraries/libldap/cldap.c @@ -109,7 +109,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