Skip to content

Commit 74d138e

Browse files
committed
Fix incorrect printf modifier after size_t changes
1 parent 1ac97c7 commit 74d138e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/hash/hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ PHP_FUNCTION(hash_hkdf)
651651
} else if (length == 0) {
652652
length = ops->digest_size;
653653
} else if (length > (zend_long) (ops->digest_size * 255)) {
654-
php_error_docref(NULL, E_WARNING, "Length must be less than or equal to %d: " ZEND_LONG_FMT, ops->digest_size * 255, length);
654+
php_error_docref(NULL, E_WARNING, "Length must be less than or equal to %zd: " ZEND_LONG_FMT, ops->digest_size * 255, length);
655655
RETURN_FALSE;
656656
}
657657

0 commit comments

Comments
 (0)