Commit 74d869c2 authored by Frederick Zhang's avatar Frederick Zhang

should use uintptr_t instead of size_t for pointer size

parent b86d1657
Pipeline #346 passed with stage
in 1 minute and 3 seconds
......@@ -53,7 +53,7 @@ public:
return Z_OBJ_P(new_object);
}
static bitem * fetch_bnode_object_data(zend_object *obj) {
return (bitem *)(*((size_t *)((char *)obj - sizeof(size_t))));
return (bitem *)(*((uintptr_t *)((char *)obj - sizeof(uintptr_t))));
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment