summaryrefslogtreecommitdiffhomepage
path: root/filters/php_testfilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'filters/php_testfilter.c')
-rw-r--r--filters/php_testfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/php_testfilter.c b/filters/php_testfilter.c
index dc3d8c8..ca844b3 100644
--- a/filters/php_testfilter.c
+++ b/filters/php_testfilter.c
@@ -39,7 +39,7 @@ _php_testfilter_tint(Imlib_Image im, HashTable* params)
if (retval==HASH_KEY_IS_STRING)
{
zval **data;
- zend_hash_get_current_data_ex(params,&data,&pos);
+ zend_hash_get_current_data_ex(params,(void*)&data,&pos);
convert_to_long_ex(data);
if (!strcmp(str_index,"red")) r=Z_LVAL_PP(data);
if (!strcmp(str_index,"blue")) b=Z_LVAL_PP(data);