cvs: ZendEngine2(PHP_5_3) / zend_execute.h

[email protected] ("Stanislav Malyshev")
Newsgroups php.zend-engine.cvs
Message-ID <cvsstas1201564554@cvsserver>
stas		Mon Jan 28 23:55:54 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /ZendEngine2	zend_execute.h 
  Log:
  fix type
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_execute.h?r1=1.84.2.4.2.8.2.3&r2=1.84.2.4.2.8.2.4&diff_format=u
Index: ZendEngine2/zend_execute.h
diff -u ZendEngine2/zend_execute.h:1.84.2.4.2.8.2.3 ZendEngine2/zend_execute.h:1.84.2.4.2.8.2.4
--- ZendEngine2/zend_execute.h:1.84.2.4.2.8.2.3	Thu Jan 24 09:41:37 2008
+++ ZendEngine2/zend_execute.h	Mon Jan 28 23:55:53 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_execute.h,v 1.84.2.4.2.8.2.3 2008/01/24 09:41:37 dmitry Exp $ */
+/* $Id: zend_execute.h,v 1.84.2.4.2.8.2.4 2008/01/28 23:55:53 stas Exp $ */
 
 #ifndef ZEND_EXECUTE_H
 #define ZEND_EXECUTE_H
@@ -161,7 +161,7 @@
 	} 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;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.