diff options
author | Anatol Belski <ab@php.net> | 2014-08-25 21:20:44 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-25 21:20:44 +0200 |
commit | 28b7a033185478839c511551ce2344e459e7f880 (patch) | |
tree | 4db8d1c1d9def45116e626a6cf5ceb7f381a643d /Zend/zend_hash.h | |
parent | 455741fce3c4f4392deb97775cba7a39f6490271 (diff) | |
download | php-git-28b7a033185478839c511551ce2344e459e7f880.tar.gz |
master renamings phase 5
Diffstat (limited to 'Zend/zend_hash.h')
-rw-r--r-- | Zend/zend_hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h index 42bacc5c16..5508a40bdf 100644 --- a/Zend/zend_hash.h +++ b/Zend/zend_hash.h @@ -258,7 +258,7 @@ static inline int _zend_handle_numeric_str(const char *key, size_t length, zend_ if ((*end != '\0') /* not a null terminated string */ || (*tmp == '0' && length > 1) /* numbers with leading zeros */ || (end - tmp > MAX_LENGTH_OF_LONG - 1) /* number too long */ - || (SIZEOF_ZEND_INT == 4 && + || (SIZEOF_ZEND_LONG == 4 && end - tmp == MAX_LENGTH_OF_LONG - 1 && *tmp > '2')) { /* overflow */ return 0; |