mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 22:33:07 -05:00
MSVC5 does like -1UL... replaced with (unsigned long) -1L
This commit is contained in:
parent
36378ea411
commit
418c49de0c
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue