From: Stanislav Malyshev Date: Tue, 31 Dec 2002 09:42:28 +0000 (+0000) Subject: fix level of indirection X-Git-Tag: PHP_5_0_dev_before_13561_fix~551 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8814f36692b94feb70df324e6847f0a6db05c803;p=php fix level of indirection --- diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index b541fba023..543aae0884 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -73,7 +73,7 @@ typedef struct _zend_object_handlers { extern zend_object_handlers std_object_handlers; -#define IS_ZEND_STD_OBJECT(z) ((z).type == IS_OBJECT && (Z_OBJ_HT_P((z))->get_class_entry != NULL)) +#define IS_ZEND_STD_OBJECT(z) ((z).type == IS_OBJECT && (Z_OBJ_HT((z))->get_class_entry != NULL)) #define HAS_CLASS_ENTRY(z) (Z_OBJ_HT(z)->get_class_entry != NULL) #endif