projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f19ec8a
)
Fixed compiler warning.
author
Derick Rethans
<github@derickrethans.nl>
Tue, 5 Jul 2011 11:37:26 +0000 (12:37 +0100)
committer
Derick Rethans
<github@derickrethans.nl>
Tue, 5 Jul 2011 11:37:26 +0000 (12:37 +0100)
twig.c
patch
|
blob
|
history
diff --git
a/twig.c
b/twig.c
index
7c8e7e8
..
af19a15
100644
(file)
--- a/
twig.c
+++ b/
twig.c
@@
-278,7
+278,7
@@
zval *TWIG_GET_ARRAY_ELEMENT_ZVAL(zval *class, zval *prop_name)
}
tmp_name = Z_STRVAL_P(prop_name);
- if (zend_hash_find(HASH_OF(class), tmp_name, strlen(tmp_name)+1, &tmp_zval) == SUCCESS) {
+ if (zend_hash_find(HASH_OF(class), tmp_name, strlen(tmp_name)+1, (void**) &tmp_zval) == SUCCESS) {
return tmp_zval;
}
return NULL;