]> granicus.if.org Git - php/commitdiff
this little piggy broke lots of things...eg. _function_check_flag in reflection api.
authorShane Caraveo <shane@php.net>
Sun, 5 Oct 2003 01:54:46 +0000 (01:54 +0000)
committerShane Caraveo <shane@php.net>
Sun, 5 Oct 2003 01:54:46 +0000 (01:54 +0000)
Zend/zend_API.h

index ff108c8d1474c1c3a4dae2f04464cb2144638637..186d3e62dce63140e5482fd0df29126f7ae6a355 100644 (file)
@@ -332,7 +332,7 @@ ZEND_API ZEND_FUNCTION(display_disabled_class);
 
 #define ZVAL_BOOL(z, b) {                              \
                (z)->type = IS_BOOL;            \
-               (z)->value.lval = (b != 0);     \
+               (z)->value.lval = ((b) != 0);   \
        }
 
 #define ZVAL_NULL(z) {                                 \