summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.h
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2008-01-28 23:55:53 +0000
committerStanislav Malyshev <stas@php.net>2008-01-28 23:55:53 +0000
commit2cd551ffec0d783e7ea8893ec6536b7f00076e66 (patch)
tree6155ea092a452a532bdb2e7aef89740490cbac81 /Zend/zend_execute.h
parentd95c29d7f6a85ce8e98477111c2e3407744e42e1 (diff)
downloadphp-git-2cd551ffec0d783e7ea8893ec6536b7f00076e66.tar.gz
fix type
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r--Zend/zend_execute.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index 21c48ffceb..e172e09e72 100644
--- a/Zend/zend_execute.h
+++ b/Zend/zend_execute.h
@@ -161,7 +161,7 @@ struct _zend_vm_stack {
} while (0)
static inline zend_vm_stack zend_vm_stack_new_page(int count) {
- zend_vm_stack page = emalloc(sizeof(*page)+sizeof(page->elements[0])*(count-1));
+ zend_vm_stack page = (zend_vm_stack)emalloc(sizeof(*page)+sizeof(page->elements[0])*(count-1));
page->top = page->elements;
page->end = page->elements + count;