From: Andrew Tridgell Date: Fri, 22 May 1998 13:27:55 +0000 (+0000) Subject: add a cast to initialisation of mask X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/505c7ea2bc0720a44a17c3076dec3e0b87e4ab93 add a cast to initialisation of mask --- diff --git a/access.c b/access.c index 046d5e31..f1763432 100644 --- a/access.c +++ b/access.c @@ -34,7 +34,7 @@ static int match_hostname(char *host, char *tok) static int match_address(char *addr, char *tok) { char *p; - unsigned long a, t, mask = ~0; + unsigned long a, t, mask = (unsigned long)~0; if (!addr || !*addr) return 0;