diff options
Diffstat (limited to 'ext/swf/swf.c')
-rw-r--r-- | ext/swf/swf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/swf/swf.c b/ext/swf/swf.c index e4c192fb20..de7eb545b0 100644 --- a/ext/swf/swf.c +++ b/ext/swf/swf.c @@ -591,7 +591,7 @@ PHP_FUNCTION(swf_definepoly) convert_to_long_ex(NumPoints); convert_to_double_ex(width); - if ((*coordinates)->type != IS_ARRAY) { + if (Z_TYPE_PP(coordinates) != IS_ARRAY) { return; php_error(E_WARNING, "Wrong datatype of second argument to swf_definepoly"); } |