summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_report.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-11-10 13:57:09 +0000
committerAndrey Hristov <andrey@php.net>2010-11-10 13:57:09 +0000
commit332b953865131206f2a4b85905ceb2e83eb4e883 (patch)
tree14f0d6a8ad003dd5c05f12f67e339d314f0fa239 /ext/mysqli/mysqli_report.c
parent6cb7ea4089b07e49defe4dd98c0b75124e93fd19 (diff)
downloadphp-git-332b953865131206f2a4b85905ceb2e83eb4e883.tar.gz
Fix bad types, because zend_parse_xxx expect signed integers
for lengths, no matter how stupid this is :)
Diffstat (limited to 'ext/mysqli/mysqli_report.c')
-rw-r--r--ext/mysqli/mysqli_report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_report.c b/ext/mysqli/mysqli_report.c
index 6cd5e74a42..2fd873f078 100644
--- a/ext/mysqli/mysqli_report.c
+++ b/ext/mysqli/mysqli_report.c
@@ -33,7 +33,7 @@ extern void php_mysqli_throw_sql_exception(char *sqlstate, int errorno TSRMLS_DC
sets report level */
PHP_FUNCTION(mysqli_report)
{
- long flags;
+ long flags;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &flags) == FAILURE) {