Skip to content

Commit a6a23e1

Browse files
committed
Merge branch 'issue-9' into master
Closes #9.
2 parents 98b5dfb + 6ad2a63 commit a6a23e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/zend_container.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class zend_container
9292
}
9393
static inline bitem *bnode_fetch_object_data(zend_object *obj)
9494
{
95-
return (bitem *)(*((uintptr_t *)((char *)obj - sizeof(uintptr_t))));
95+
return (bitem *)(*((uintptr_t *)((char *)obj - XtOffsetOf(bitem_object, std))));
9696
}
9797
};
9898

0 commit comments

Comments
 (0)