]> granicus.if.org Git - php/commitdiff
Fixed 'long' -> 'zend_long' for call to 'is_numeric_string_ex()'
authorTjerk Meesters <datibbaw@php.net>
Mon, 1 Sep 2014 14:49:12 +0000 (22:49 +0800)
committerTjerk Meesters <datibbaw@php.net>
Mon, 1 Sep 2014 14:49:12 +0000 (22:49 +0800)
Zend/zend_ini_scanner.c
Zend/zend_ini_scanner.l

index b1b75efce28984cad5e3f6a539d1c94227bc4bf3..81a8eebd22bb4e11d1aceb5ad42342c2f3c42d8d 100644 (file)
@@ -151,7 +151,7 @@ static inline int convert_to_number(zval *retval, const char *str, const int str
 {
        zend_uchar type;
        int overflow;
-       long lval;
+       zend_long lval;
        double dval;
 
        if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) {
index 7c9b382d500f8acc0e278368a29b47fa15f3c763..3bfb1557b10abeb9fc908021b0f404375200dd15 100644 (file)
@@ -149,7 +149,7 @@ static inline int convert_to_number(zval *retval, const char *str, const int str
 {
        zend_uchar type;
        int overflow;
-       long lval;
+       zend_long lval;
        double dval;
 
        if ((type = is_numeric_string_ex(str, str_len, &lval, &dval, 0, &overflow)) != 0) {