diff options
Diffstat (limited to 'filters/php_bumpmap.c')
| -rw-r--r-- | filters/php_bumpmap.c | 4 |
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': |
