]> granicus.if.org Git - php/commitdiff
changed ulong to long to avoid compiler warnings (comparison between signed and unsigned)
authorGeorg Richter <georg@php.net>
Thu, 25 Sep 2003 15:38:35 +0000 (15:38 +0000)
committerGeorg Richter <georg@php.net>
Thu, 25 Sep 2003 15:38:35 +0000 (15:38 +0000)
Zend/zend_hash.h

index 7cbe02605ee4f47b5391e7e2918380a1ba257a1f..37a6d4e7d7250096767ff53e38640960e8e807e1 100644 (file)
@@ -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;                                                                                                                                          \