summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--php_imlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/php_imlib.c b/php_imlib.c
index e1a2828..d161bfa 100644
--- a/php_imlib.c
+++ b/php_imlib.c
@@ -207,7 +207,7 @@ zend_module_entry imlib_module_entry = {
PHP_INI_MH(OnUpdateFontCacheSize)
{
int size;
- if (sscanf(new_value,"%d",&size)==1)
+ if (sscanf(new_value->val,"%d",&size)==1)
{
imlib_set_font_cache_size(size);
return SUCCESS;