Browse Source

kill warning

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1570 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
master
Xuefer 7 years ago
parent
commit
63d878bdb5
  1. 2
      processor/foot.m4

2
processor/foot.m4

@ -137,7 +137,7 @@ EXPORTED_FUNCTION(`zval *xc_processor_restore_var(zval *dst, const xc_entry_var_
int i;
size_t size = sizeof(processor.object_handles[0]) * src->objects_count;
processor.object_handles = emalloc(size);
IFAUTOCHECK(`xc_memsetptr(processor.object_handles, -1, size);')
IFAUTOCHECK(`xc_memsetptr(processor.object_handles, (void *) -1, size);')
/* other objects in $object->properties after $object, reverse order is necessary */
for (i = src->objects_count - 1; i >= 0; --i) {
zend_object *object = emalloc(sizeof(*object));

Loading…
Cancel
Save