mirror of
https://github.com/php/php-src.git
synced 2026-04-04 06:32:49 +02:00
fix printf format
This commit is contained in:
@@ -520,7 +520,7 @@ char * php_sha256_crypt_r(const char *key, const char *salt, char *buffer, int b
|
||||
|
||||
if (rounds_custom) {
|
||||
#ifdef PHP_WIN32
|
||||
int n = _snprintf(cp, MAX(0, buflen), "%s%u$", sha256_rounds_prefix, rounds);
|
||||
int n = _snprintf(cp, MAX(0, buflen), "%s%I64u$", sha256_rounds_prefix, rounds);
|
||||
#else
|
||||
int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user