From: Derick Rethans Date: Tue, 5 Jul 2011 11:37:26 +0000 (+0100) Subject: Fixed compiler warning. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=48b0a5f985c3b612a393dc9562bf41a5c4c34685;p=web%2Fkonrad%2Ftwig.git Fixed compiler warning. --- diff --git a/twig.c b/twig.c index 7c8e7e8..af19a15 100644 --- 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;