]> granicus.if.org Git - php/commitdiff
- fix build (void alarm)
authorPierre Joye <pajoye@php.net>
Tue, 9 Jun 2009 09:26:02 +0000 (09:26 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 9 Jun 2009 09:26:02 +0000 (09:26 +0000)
Zend/zend_execute.h

index 56eb6f3fca43b7a85c180e3aedc2d455aab098eb..985d4d6c35d98d074ee172b19bf28e477f584123 100644 (file)
@@ -298,8 +298,8 @@ static inline void zend_arg_types_stack_2_pop(zend_ptr_stack *stack, zval **obje
 
        zend_ptr_stack_2_pop(stack, &a, &b);
 
-       *object = a;
-       *fbc = b;
+       *object = (zval *) a;
+       *fbc = (zend_function *) b;
 }
 
 static inline void zend_arg_types_stack_3_pop(zend_ptr_stack *stack, zend_class_entry **called_scope, zval **object, zend_function **fbc)
@@ -308,9 +308,9 @@ static inline void zend_arg_types_stack_3_pop(zend_ptr_stack *stack, zend_class_
 
        zend_ptr_stack_3_pop(stack, &a, &b, &c);
 
-       *called_scope = a;
-       *object = b;
-       *fbc = c;
+       *called_scope = (zend_class_entry *) a;
+       *object = (zval *) b;
+       *fbc = (zend_function *) c;
 }
 
 void execute_new_code(TSRMLS_D);