com php-src: Fixed "comparison between signed and unsigned integer expressions" compilation warnings: Zend/zend_object_handler s.h

From: Date: Fri, 29 Apr 2016 10:43:43 +0000
Subject: com php-src: Fixed "comparison between signed and unsigned integer expressions" compilation warnings: Zend/zend_object_handler s.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91964@lists.php.net to get a copy of this message
Commit: 84bf7ae59b995614b8503b2492a533bf92ffbec3 Author: Dmitry Stogov <dmitry@zend.com> Fri, 29 Apr 2016 13:43:43 +0300 Parents: 0091d816689cd21b3e8978a4276c22b6bb9beee0 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=84bf7ae59b995614b8503b2492a533bf92ffbec3 Log: Fixed "comparison between signed and unsigned integer expressions" compilation warnings Changed paths: M Zend/zend_object_handlers.h Diff: diff --git a/Zend/zend_object_handlers.h b/Zend/zend_object_handlers.h index 0b51db6..319da96 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

« previous php.cvs (#91964) next »