Skip to content
Snippets Groups Projects
Commit d5a62677 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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

parent 4b3a13ab
No related branches found
Tags OPENLDAP_REL_ENG_1_1_ALPHA2
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment