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
commitc2c3467ab46d7da8a28ef01c17e4c0877100ac8b (patch)
tree77223daf62b859f72ead8c78a7d169f233273af2 /ext/mysql/php_mysql.c
parent2fb2f81538704fc6c09173e3843f22aa6b3d04fc (diff)
downloadphp-git-c2c3467ab46d7da8a28ef01c17e4c0877100ac8b.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 32d840c17e..ab1d2a001e 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -2006,7 +2006,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;