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
commit31824b2c0451932ec120c8cc231cd3618e6b81d3 (patch)
tree37e7f25f7daa426f04d807b60a7b2af611652f1b /ext/mysql/php_mysql.c
parente3ec38a90f5ee5b7ee55800098bbb58fb7bdb271 (diff)
downloadphp-git-31824b2c0451932ec120c8cc231cd3618e6b81d3.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 c276e76a8b..c102a8e398 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -1884,7 +1884,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)
{
zval **result, **arg2;
MYSQL_RES *mysql_result;