summaryrefslogtreecommitdiff
path: root/processor
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2014-11-11 20:13:29 +0000
committerXuefer <xuefer@gmail.com>2014-11-11 20:13:29 +0000
commit63d878bdb58a77458c7083807bfff04353a0ada0 (patch)
tree340fc12095fde70453ec3fdcef757ff193f34194 /processor
parentb52de665844d381e5e3d0d4115acc3215a74e313 (diff)
downloadxcache-63d878bdb58a77458c7083807bfff04353a0ada0.tar.gz
xcache-63d878bdb58a77458c7083807bfff04353a0ada0.zip
kill warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1570 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'processor')
-rw-r--r--processor/foot.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/processor/foot.m4 b/processor/foot.m4
index 0fdc5e6..65d066f 100644
--- a/processor/foot.m4
+++ b/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));