com php-src: fixed ZEND_INT_FMT: Zend/zend_int.h
| From: | Anatol Belski | Date: | Wed, 22 Jan 2014 23:11:39 +0000 |
| Subject: | com php-src: fixed ZEND_INT_FMT: Zend/zend_int.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75762@lists.php.net to get a copy of this message | ||
Commit: aa6f6ca86404278c0ddb94dc0b7c089e6578f0f1
Author: Anatol Belski <ab@php.net> Wed, 22 Jan 2014 15:11:39 -0800
Parents: 2bdb887975f33bb21f6733c856a6da3d6931f432
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=aa6f6ca86404278c0ddb94dc0b7c089e6578f0f1
Log:
fixed ZEND_INT_FMT
Changed paths:
M Zend/zend_int.h
Diff:
diff --git a/Zend/zend_int.h b/Zend/zend_int.h
index 93e6175..da9767a 100644
--- a/Zend/zend_int.h
+++ b/Zend/zend_int.h
@@ -101,9 +101,9 @@ typedef long zend_off_t;
# define ZEND_ATOI(i, s) (i) = atoll((s))
# define ZEND_STRTOL(s0, s1, base) strtoll((s0), (s1), (base))
# define ZEND_STRTOUL(s0, s1, base) strtoull((s0), (s1), (base))
-# define ZEND_INT_FMT "%lld"
+# define ZEND_INT_FMT "%" PRId64
# define ZEND_UINT_FMT "%lu"
-# define ZEND_INT_FMT_SPEC "lld"
+# define ZEND_INT_FMT_SPEC PRId64
# define ZEND_UINT_FMT_SPEC "lu"
# define ZEND_STRTOL_PTR strtoll
# define ZEND_STRTOUL_PTR strtoull