Commit d5a62677 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

change -1UL to (unsigned long) -1L for NT4

parent 4b3a13ab
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment