diff options
| author | Andrey Hristov <andrey@php.net> | 2010-06-21 15:32:26 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2010-06-21 15:32:26 +0000 |
| commit | 53324e88305e4cbaa078f7f0600db07a28223d6f (patch) | |
| tree | df82cd206e1d941df04ab6802636224fd809c403 /ext/mysqlnd/mysqlnd_ps_codec.c | |
| parent | 698539fa79d575ee962acc5f7caee0d53a30a9fb (diff) | |
| download | php-git-53324e88305e4cbaa078f7f0600db07a28223d6f.tar.gz | |
Fix sprintf modifiers all around the place. In most cases
%u should be used. Where size_t is used then MYSQLND_SZ_T_SPEC should be
the modifier
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps_codec.c')
| -rw-r--r-- | ext/mysqlnd/mysqlnd_ps_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps_codec.c b/ext/mysqlnd/mysqlnd_ps_codec.c index 326d6f9634..c9308a1b29 100644 --- a/ext/mysqlnd/mysqlnd_ps_codec.c +++ b/ext/mysqlnd/mysqlnd_ps_codec.c @@ -61,7 +61,7 @@ void ps_fetch_from_1_to_8_bytes(zval *zv, const MYSQLND_FIELD * const field, size_t tmp_len = 0; zend_bool is_bit = field->type == MYSQL_TYPE_BIT; DBG_ENTER("ps_fetch_from_1_to_8_bytes"); - DBG_INF_FMT("zv=%p byte_count=%d", zv, byte_count); + DBG_INF_FMT("zv=%p byte_count=%u", zv, byte_count); if (field->flags & UNSIGNED_FLAG) { uint64_t uval = 0; |
