Avoid C89 warning in contrib/minizip/crypt.h.

This commit is contained in:
Mark Adler 2022-10-10 01:01:38 -07:00
parent e61ff990c0
commit 2bb4961990

View File

@ -85,7 +85,7 @@ static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t* pcr
#define RAND_HEAD_LEN 12 #define RAND_HEAD_LEN 12
/* "last resort" source for second part of crypt seed pattern */ /* "last resort" source for second part of crypt seed pattern */
# ifndef ZCR_SEED2 # ifndef ZCR_SEED2
# define ZCR_SEED2 3141592654L /* use PI as default pattern */ # define ZCR_SEED2 3141592654UL /* use PI as default pattern */
# endif # endif
static unsigned crypthead(const char* passwd, /* password string */ static unsigned crypthead(const char* passwd, /* password string */