com php-src: Fix Z_UL: Zend/zend_long.h
| From: | Nikita Popov | Date: | Wed, 03 Sep 2014 14:52:56 +0000 |
| Subject: | com php-src: Fix Z_UL: Zend/zend_long.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81407@lists.php.net to get a copy of this message | ||
Commit: 964e1174b43552d4a0610e1c0feb5c4ca77e1ab7
Author: Nikita Popov <nikic@php.net> Wed, 3 Sep 2014 16:10:56 +0200
Parents: 5c897aa7dab65c1aa5b9197086b3a610f0428fd0
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=964e1174b43552d4a0610e1c0feb5c4ca77e1ab7
Log:
Fix Z_UL
Changed paths:
M Zend/zend_long.h
Diff:
diff --git a/Zend/zend_long.h b/Zend/zend_long.h
index ac270c7..153b4d24 100644
--- a/Zend/zend_long.h
+++ b/Zend/zend_long.h
@@ -52,8 +52,8 @@ typedef int32_t zend_off_t;
# define ZEND_LONG_MAX INT32_MAX
# define ZEND_LONG_MIN INT32_MIN
# define ZEND_ULONG_MAX UINT32_MAX
-# define Z_L(i) i
-# define Z_UL(i) i
+# define Z_L(i) INT32_C(i)
+# define Z_UL(i) UINT32_C(i)
# define SIZEOF_ZEND_LONG 4
#endif