apps/passwd.c: 32 bits are sufficient to hold ROUNDS_MAX.
authorAndy Polyakov <appro@openssl.org>
Sun, 26 Mar 2017 20:38:05 +0000 (22:38 +0200)
committerAndy Polyakov <appro@openssl.org>
Mon, 27 Mar 2017 19:09:06 +0000 (21:09 +0200)
commita4c74e88e4bfce51cca22ed9d73d7d6bd96b4b87
tree7014af9cf9b00792574364ecb509db63a593ea9d
parent165f1c3ef39680471339d21b9f6c12ea86b4a26a
apps/passwd.c: 32 bits are sufficient to hold ROUNDS_MAX.

Even though C standard defines 'z' modifier, recent mingw compilers break
the contract by defining __STDC_VERSION__ with non-compliant MSVCRT.DLL.
In other words we can't use %zu with mingw, but insteadl of cooking

Reviewed-by: Tim Hudson <tjh@openssl.org>
apps/passwd.c