diff options
| author | Anatol Belski <ab@php.net> | 2014-09-19 08:44:35 +0200 |
|---|---|---|
| committer | Anatol Belski <ab@php.net> | 2014-09-19 08:44:35 +0200 |
| commit | 4d60f236302fdd792f6c60ae2837fe8b4e8e7050 (patch) | |
| tree | 9e23c147e510fce86a5e351159199eff5e610670 | |
| parent | 571537afe0460bdfdee82e0cbda03cda017e7db4 (diff) | |
| download | php-git-4d60f236302fdd792f6c60ae2837fe8b4e8e7050.tar.gz | |
fix printf format
| -rw-r--r-- | ext/standard/crypt_sha256.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/crypt_sha256.c b/ext/standard/crypt_sha256.c index 826b4d1593..ee68cec027 100644 --- a/ext/standard/crypt_sha256.c +++ b/ext/standard/crypt_sha256.c @@ -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 |
