summaryrefslogtreecommitdiffhomepage
path: root/filters/php_testfilter.c
diff options
context:
space:
mode:
authorpp <pp@455248ca-bdda-0310-9134-f4ebb693071a>2005-06-20 18:17:03 +0000
committerpp <pp@455248ca-bdda-0310-9134-f4ebb693071a>2005-06-20 18:17:03 +0000
commitdd9ae8593096d54180956c13b1f293bc3d546634 (patch)
treed7a2ff9eb33d79726784d83a12d2473e3890c318 /filters/php_testfilter.c
parente1c263b7a4b60327ea19222d1a2fdc564ff538ce (diff)
- get rid of compilation warnings
git-svn-id: https://siedziba.pl:790/svn/repos/php-imlib/trunk@194 455248ca-bdda-0310-9134-f4ebb693071a
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);