diff options
Diffstat (limited to '9.patch')
-rw-r--r-- | 9.patch | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -0,0 +1,22 @@ +From d48a944c053084382b2b0a914cb1058cda89d99c Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Mon, 21 Sep 2020 15:48:01 +0200 +Subject: [PATCH] fix format, used is unsigned long + +--- + src/php_raphf_api.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/php_raphf_api.c b/src/php_raphf_api.c +index 004fd66..d71ce36 100644 +--- a/src/php_raphf_api.c ++++ b/src/php_raphf_api.c +@@ -624,7 +624,7 @@ static int php_persistent_handle_apply_info_ex(zval *p, int argc, + zend_hash_key *super_key = va_arg(argv, zend_hash_key *); + char used[21], free[21]; + +- slprintf(used, sizeof(used), "%u", list->used); ++ slprintf(used, sizeof(used), "%lu", list->used); + slprintf(free, sizeof(free), "%d", zend_hash_num_elements(&list->free)); + + php_info_print_table_row(4, super_key->key->val, key->key->val, used, free); |