summaryrefslogtreecommitdiff
path: root/Zend/zend_hash.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-25 21:20:44 +0200
committerAnatol Belski <ab@php.net>2014-08-25 21:20:44 +0200
commit28b7a033185478839c511551ce2344e459e7f880 (patch)
tree4db8d1c1d9def45116e626a6cf5ceb7f381a643d /Zend/zend_hash.h
parent455741fce3c4f4392deb97775cba7a39f6490271 (diff)
downloadphp-git-28b7a033185478839c511551ce2344e459e7f880.tar.gz
master renamings phase 5
Diffstat (limited to 'Zend/zend_hash.h')
-rw-r--r--Zend/zend_hash.h2
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;