diff options
author | Stanislav Malyshev <stas@php.net> | 2008-01-28 23:55:53 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2008-01-28 23:55:53 +0000 |
commit | 2cd551ffec0d783e7ea8893ec6536b7f00076e66 (patch) | |
tree | 6155ea092a452a532bdb2e7aef89740490cbac81 /Zend/zend_execute.h | |
parent | d95c29d7f6a85ce8e98477111c2e3407744e42e1 (diff) | |
download | php-git-2cd551ffec0d783e7ea8893ec6536b7f00076e66.tar.gz |
fix type
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r-- | Zend/zend_execute.h | 2 |
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; |