summaryrefslogtreecommitdiff
path: root/ext/pdo
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2011-02-22 15:48:25 +0000
committerIlia Alshanetsky <iliaa@php.net>2011-02-22 15:48:25 +0000
commitf15452af9620f1a13696744ca9091c016d4fae4e (patch)
tree27205402a0863e15cf100ebd5437a31e04af9f79 /ext/pdo
parent0448336c2c327a07a7b12c195a01960fafef86db (diff)
downloadphp-git-f15452af9620f1a13696744ca9091c016d4fae4e.tar.gz
Fixed compiler warning
Diffstat (limited to 'ext/pdo')
-rwxr-xr-xext/pdo/pdo_stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c
index 15aa8407fa..a8435d235a 100755
--- a/ext/pdo/pdo_stmt.c
+++ b/ext/pdo/pdo_stmt.c
@@ -2183,7 +2183,7 @@ static PHP_METHOD(PDOStatement, debugDumpParams)
php_stream_printf(out TSRMLS_CC, "Key: Name: [%d] %.*s\n", len, len, str);
}
- php_stream_printf(out TSRMLS_CC, "paramno=%d\nname=[%d] \"%.*s\"\nis_param=%d\nparam_type=%d\n",
+ php_stream_printf(out TSRMLS_CC, "paramno=%ld\nname=[%d] \"%.*s\"\nis_param=%d\nparam_type=%d\n",
param->paramno, param->namelen, param->namelen, param->name ? param->name : "",
param->is_param,
param->param_type);