From 74d138e4a3c0cb408112d23b88ccb0e4a8571c48 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 4 Oct 2018 10:58:20 +0200 Subject: [PATCH] Fix incorrect printf modifier after size_t changes --- ext/hash/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/hash/hash.c b/ext/hash/hash.c index 0ac643160a..13b068a90c 100644 --- a/ext/hash/hash.c +++ b/ext/hash/hash.c @@ -651,7 +651,7 @@ PHP_FUNCTION(hash_hkdf) } else if (length == 0) { length = ops->digest_size; } else if (length > (zend_long) (ops->digest_size * 255)) { - php_error_docref(NULL, E_WARNING, "Length must be less than or equal to %d: " ZEND_LONG_FMT, ops->digest_size * 255, length); + php_error_docref(NULL, E_WARNING, "Length must be less than or equal to %zd: " ZEND_LONG_FMT, ops->digest_size * 255, length); RETURN_FALSE; } -- 2.50.1