From 2cd551ffec0d783e7ea8893ec6536b7f00076e66 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Mon, 28 Jan 2008 23:55:53 +0000 Subject: fix type --- Zend/zend_execute.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zend/zend_execute.h') 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; -- cgit v1.2.1