Fix signed/unsigned warnings.
[openssl.git] / apps / passwd.c
index 06155979f444a4b1d837bacc07ccf39a534f365c..0e5682d1d6ce2b8608b293b3f5fa3565ab34502e 100644 (file)
@@ -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));