]> granicus.if.org Git - php/commitdiff
- MF53: fix build (void alarm)
authorPierre Joye <pajoye@php.net>
Sun, 14 Jun 2009 10:24:42 +0000 (10:24 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 14 Jun 2009 10:24:42 +0000 (10:24 +0000)
Zend/zend_execute.h

index d746d96d881004a071f08687cf6ec449869c1ee8..7120c8017209a8bd735011c8efd4626a39c54e3d 100644 (file)
@@ -316,8 +316,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)
@@ -326,9 +326,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);