]> granicus.if.org Git - php/commitdiff
fix for bug #32282 (segfault in mysqli_fetch_array on 64-bit)
authorGeorg Richter <georg@php.net>
Wed, 6 Apr 2005 06:47:12 +0000 (06:47 +0000)
committerGeorg Richter <georg@php.net>
Wed, 6 Apr 2005 06:47:12 +0000 (06:47 +0000)
ext/mysqli/mysqli.c

index 03700e8d43a6c7eadb6a331cc174ff1397c599f8..2922f8b7b7a1c2ada535377e07b6aea87b9fa8aa 100644 (file)
@@ -737,7 +737,7 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags
 {
        MYSQL_RES               *result;
        zval                    *mysql_result;
-       int                             fetchtype;
+       long                    fetchtype;
        unsigned int    i;
        MYSQL_FIELD             *fields;
        MYSQL_ROW               row;