summaryrefslogtreecommitdiffhomepage
path: root/filters/php_bumpmap.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_bumpmap.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_bumpmap.c')
-rw-r--r--filters/php_bumpmap.c4
1 files changed, 2 insertions, 2 deletions
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':