From bd44570322940cf1d1e01ad27c9e1949806a06cd Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Wed, 16 Feb 2000 12:09:17 +0000 Subject: Fix signed/unsigned warnings. --- apps/passwd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/passwd.c') diff --git a/apps/passwd.c b/apps/passwd.c index 06155979f4..0e5682d1d6 100644 --- a/apps/passwd.c +++ b/apps/passwd.c @@ -346,7 +346,9 @@ static char *apr1_crypt(const char *passwd, const char *salt) buf_perm[dest] = buf[source]; buf_perm[14] = buf[5]; buf_perm[15] = buf[11]; +#ifndef PEDANTIC /* Unfortunately, this generates a "no effect" warning */ assert(16 == sizeof buf_perm); +#endif output = salt_out + salt_len; assert(output == out_buf + strlen(out_buf)); -- cgit v1.2.3