From: Ilia Alshanetsky Date: Tue, 22 Feb 2011 15:48:25 +0000 (+0000) Subject: Fixed compiler warning X-Git-Tag: php-5.3.6RC2~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f15452af9620f1a13696744ca9091c016d4fae4e;p=php Fixed compiler warning --- 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);