summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-21 19:59:23 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-21 19:59:23 +0000
commitd3aa76cef528a15571cade12ebdd10973f4ca579 (patch)
treebf5d26005dc4f8c88d58532c3aa1728c36edf01b /source3/lib
parent30e51241ecdda2724c441e372e6f99857719630f (diff)
downloadsamba-d3aa76cef528a15571cade12ebdd10973f4ca579.tar.gz
samba-d3aa76cef528a15571cade12ebdd10973f4ca579.tar.bz2
samba-d3aa76cef528a15571cade12ebdd10973f4ca579.zip
Patch from Paul Green <Paul.Green@stratus.com> to be more POSIX-compatible
(This used to be commit addf29e6765393b25c35bd833d29e29e4581c233)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c
index 5e2b7c5ed9..56ef4a6ab1 100644
--- a/source3/lib/util_sock.c
+++ b/source3/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;
}