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

diff --git a/NEWS b/NEWS
index 0b430093d99adee682ff22590aaebaf2817a02ef..739545f619a695de0fcaaff2cfd21af915cdb728 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,7 @@ PHP                                                                        NEWS
   longer then the original string). (Ilia)
 - Fixed bug #32491 (File upload error - unable to create a temporary file).
   (Uwe Schindler)
+- Fixed bug #32282 (Segfault in mysqli_fetch_array on 64-bit) (Georg).
 - Fixed bug #28839 (SIGSEGV in interactive mode (php -a)).
   (kameshj at fastmail dot fm)
 
index 677b0caf68b5d0414a4de8b261ccbe95648a553a..4e3217b167a6e5d4d2d52097699f9eae90ce3dda 100644 (file)
@@ -582,7 +582,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;