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

index d3686fc13563b87392211280fc291c264bda952b..700a03e1baa1e405d10cb2e4d6ece0d72d950f69 100644 (file)
@@ -175,8 +175,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)
@@ -185,9 +185,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);