summaryrefslogtreecommitdiff
path: root/rpmdb
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-07-10 10:27:55 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-07-10 10:27:55 +0300
commitf1b4f7590b9170e04636a66b92888163fc7cac9b (patch)
tree440b2fa1e8acf72f660cace240a6e8b2535f541f /rpmdb
parent7b7d879160bdf9288f0546203f015b2a8e639485 (diff)
downloadrpm-f1b4f7590b9170e04636a66b92888163fc7cac9b.tar.gz
rpm-f1b4f7590b9170e04636a66b92888163fc7cac9b.tar.bz2
rpm-f1b4f7590b9170e04636a66b92888163fc7cac9b.zip
Fix bunch of string formatting warnings.
Diffstat (limited to 'rpmdb')
-rw-r--r--rpmdb/sqlite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdb/sqlite.c b/rpmdb/sqlite.c
index 4385b301e..8f12508bb 100644
--- a/rpmdb/sqlite.c
+++ b/rpmdb/sqlite.c
@@ -374,7 +374,7 @@ fprintf(stderr, "sqlite3_step: DONE scp %p [%d:%d] av %p avlen %p\n", scp, scp->
const void * v = sqlite3_column_blob(scp->pStmt, i);
nb = sqlite3_column_bytes(scp->pStmt, i);
if (_debug)
-fprintf(stderr, "\t%d %s %s %p[%d]\n", i, cname, vtype, v, nb);
+fprintf(stderr, "\t%d %s %s %p[%zd]\n", i, cname, vtype, v, nb);
if (nb > 0) {
void * t = xmalloc(nb);
scp->av[scp->ac] = memcpy(t, v, nb);