From: Remi Collet Date: Mon, 21 Sep 2020 13:48:01 +0000 (+0200) Subject: fix format, used is unsigned long X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-raphf;a=commitdiff_plain;h=d48a944c053084382b2b0a914cb1058cda89d99c fix format, used is unsigned long --- 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);