From dd9ae8593096d54180956c13b1f293bc3d546634 Mon Sep 17 00:00:00 2001 From: pp Date: Mon, 20 Jun 2005 18:17:03 +0000 Subject: - get rid of compilation warnings git-svn-id: https://siedziba.pl:790/svn/repos/php-imlib/trunk@194 455248ca-bdda-0310-9134-f4ebb693071a --- filters/php_bumpmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'filters/php_bumpmap.c') diff --git a/filters/php_bumpmap.c b/filters/php_bumpmap.c index 3813da3..6910f82 100644 --- a/filters/php_bumpmap.c +++ b/filters/php_bumpmap.c @@ -70,12 +70,12 @@ _php_bumpmap_exec(char* filter, HashTable* params,int index) { char val[32]; zval **data; - zend_hash_get_current_data_ex(params,&data,&pos); + zend_hash_get_current_data_ex(params,(void**)&data,&pos); switch(paramtypes[index]) { case 'I': - im=_php_imlib_get_image(data); + im=(Imlib_Image)_php_imlib_get_image(data); /* Why is cast to Imlib_Image needed? */ script=_php_bumpmap_stradd(script,"map=[]"); break; case 'i': -- cgit v1.2.3