summaryrefslogtreecommitdiff
path: root/ext/ming/ming.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ming/ming.c')
-rw-r--r--ext/ming/ming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ming/ming.c b/ext/ming/ming.c
index e3961fafc2..507af0572f 100644
--- a/ext/ming/ming.c
+++ b/ext/ming/ming.c
@@ -117,7 +117,7 @@ static void *SWFgetProperty(zval *id, char *name, int namelen, int proptype TSRM
if(id)
{
- if(zend_hash_find(id->value.obj.properties, name, namelen+1, (void **)&tmp) == FAILURE)
+ if(zend_hash_find(Z_OBJPROP_P(id), name, namelen+1, (void **)&tmp) == FAILURE)
{
php_error(E_WARNING, "unable to find property %s", name);
return NULL;