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

MSVC5 does like -1UL... replaced with (unsigned long) -1L

parent 36378ea4
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
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