summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7cbe02605e..37a6d4e7d7 100644
--- a/Zend/zend_hash.h
+++ b/Zend/zend_hash.h
@@ -295,7 +295,7 @@ END_EXTERN_C()
} \
if ((*tmp>='0' && *tmp<='9')) do { /* possibly a numeric index */ \
char *end=key+length-1; \
- ulong idx; \
+ long idx; \
\
if (*tmp++=='0' && length>2) { /* don't accept numbers with leading zeros */ \
break; \