projects
/
m6w6
/
ext-raphf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
484e626
)
fix build
author
Michael Wallner
<mike@php.net>
Fri, 16 Jan 2015 16:10:36 +0000
(17:10 +0100)
committer
Michael Wallner
<mike@php.net>
Fri, 16 Jan 2015 16:10:36 +0000
(17:10 +0100)
php_raphf.c
patch
|
blob
|
history
diff --git
a/php_raphf.c
b/php_raphf.c
index 811464b55e2980b98579fb69b65846e83b919a7a..cb2352eafb16ae18165319caf3176c3517544cc3 100644
(file)
--- a/
php_raphf.c
+++ b/
php_raphf.c
@@
-384,14
+384,14
@@
void *php_persistent_handle_acquire(php_persistent_handle_factory_t *a, void *in
{
int key;
zval *p;
- ulong index;
+
zend_
ulong index;
void *handle = NULL;
php_persistent_handle_list_t *list;
list = php_persistent_handle_list_find(a->provider, a->ident.str, a->ident.len);
if (list) {
zend_hash_internal_pointer_end(&list->free);
- key = zend_hash_get_current_key(&list->free, NULL, &index
, 0
);
+ key = zend_hash_get_current_key(&list->free, NULL, &index);
p = zend_hash_get_current_data(&list->free);
if (p && HASH_KEY_NON_EXISTENT != key) {
handle = Z_PTR_P(p);