From 2bb4961990e96ecab1ac6ae3566be42a5278b1a6 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Mon, 10 Oct 2022 01:01:38 -0700 Subject: [PATCH] Avoid C89 warning in contrib/minizip/crypt.h. --- contrib/minizip/crypt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/minizip/crypt.h b/contrib/minizip/crypt.h index 9da1537..1cc41f1 100644 --- a/contrib/minizip/crypt.h +++ b/contrib/minizip/crypt.h @@ -85,7 +85,7 @@ static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcr #define RAND_HEAD_LEN 12 /* "last resort" source for second part of crypt seed pattern */ # ifndef ZCR_SEED2 -# define ZCR_SEED2 3141592654L /* use PI as default pattern */ +# define ZCR_SEED2 3141592654UL /* use PI as default pattern */ # endif static unsigned crypthead(const char* passwd, /* password string */