From 48b0a5f985c3b612a393dc9562bf41a5c4c34685 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Tue, 5 Jul 2011 12:37:26 +0100 Subject: [PATCH] Fixed compiler warning. --- twig.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; -- 1.7.2.5