summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2010-08-18 20:00:18 +0000
committerKalle Sommer Nielsen <kalle@php.net>2010-08-18 20:00:18 +0000
commit20f4bdc399ce1645131c5b3e40de2ed49efc8dc8 (patch)
tree8853e84ef088a60adc3e26b56b943f7106b3d404 /ext/mysql/php_mysql.c
parent250fcf9317c7d785a1e065b9101064b7b1fbe490 (diff)
downloadphp-git-20f4bdc399ce1645131c5b3e40de2ed49efc8dc8.tar.gz
Fixed bug #52636 (php_mysql_fetch_hash writes long value into int)
# Tested by rein at basefarm dot no
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 6fd51f2639..ab6c2bb62c 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -2008,7 +2008,7 @@ PHP_FUNCTION(mysql_num_fields)
/* {{{ php_mysql_fetch_hash
*/
-static void php_mysql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type, int expected_args, int into_object)
+static void php_mysql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, long result_type, int expected_args, int into_object)
{
MYSQL_RES *mysql_result;
zval *res, *ctor_params = NULL;