From 84bf7ae59b995614b8503b2492a533bf92ffbec3 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 29 Apr 2016 13:43:43 +0300 Subject: [PATCH] Fixed "comparison between signed and unsigned integer expressions" compilation warnings --- Zend/zend_object_handlers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index 0b51db6743..319da96f15 100644 --- a/Zend/zend_object_handlers.h +++ b/Zend/zend_object_handlers.h @@ -27,8 +27,8 @@ struct _zend_property_info; #define ZEND_WRONG_PROPERTY_INFO \ ((struct _zend_property_info*)((zend_intptr_t)-1)) -#define ZEND_DYNAMIC_PROPERTY_OFFSET (-1) -#define ZEND_WRONG_PROPERTY_OFFSET (-2) +#define ZEND_DYNAMIC_PROPERTY_OFFSET ((uint32_t)(-1)) +#define ZEND_WRONG_PROPERTY_OFFSET ((uint32_t)(-2)) /* The following rule applies to read_property() and read_dimension() implementations: If you return a zval which is not otherwise referenced by the extension or the engine's -- 2.40.0