diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2002-08-21 19:59:23 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2002-08-21 19:59:23 +0000 |
commit | addf29e6765393b25c35bd833d29e29e4581c233 (patch) | |
tree | 478f78053bf880bda21c0bb124f4572cad4bddfc /source/lib | |
parent | 287b7bda11100c42f2cdea36a20a81f6ea397f43 (diff) | |
download | samba-addf29e6765393b25c35bd833d29e29e4581c233.tar.gz samba-addf29e6765393b25c35bd833d29e29e4581c233.tar.xz samba-addf29e6765393b25c35bd833d29e29e4581c233.zip |
Patch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatible
Diffstat (limited to 'source/lib')
-rw-r--r-- | source/lib/util_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util_sock.c b/source/lib/util_sock.c index 5e2b7c5ed97..56ef4a6ab1c 100644 --- a/source/lib/util_sock.c +++ b/source/lib/util_sock.c @@ -871,7 +871,7 @@ static BOOL matchname(char *remotehost,struct in_addr addr) /* Look up the host address in the address list we just got. */ for (i = 0; hp->h_addr_list[i]; i++) { - if (memcmp(hp->h_addr_list[i], (caddr_t) & addr, sizeof(addr)) == 0) + if (memcmp(hp->h_addr_list[i], (char *) & addr, sizeof(addr)) == 0) return True; } |