projects
/
m6w6
/
ext-raphf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
(from parent 1:
9333823
)
Merge pull request #9 from remicollet/issue-ul
author
Michael Wallner
<mike@php.net>
Mon, 21 Sep 2020 15:10:21 +0000
(17:10 +0200)
committer
GitHub
<noreply@github.com>
Mon, 21 Sep 2020 15:10:21 +0000
(17:10 +0200)
fix format, used is unsigned long
src/php_raphf_api.c
patch
|
blob
|
history
diff --git
a/src/php_raphf_api.c
b/src/php_raphf_api.c
index 004fd667dc233286d1b2de8f810215eb97755a5f..d71ce36c305ea236c79318e9445857f4fb129bc2 100644
(file)
--- 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), "%
l
u", 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);