diff options
Diffstat (limited to 'source/lib/util_sock.c')
-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; } |