summaryrefslogtreecommitdiff
path: root/rpmdb
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-11-07 11:00:51 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-11-07 11:00:51 +0200
commitd8741ebc13c4981b0df788c7a481396b79213a01 (patch)
tree18b019af231d20ba8720d41b20721c50916c395f /rpmdb
parent8239d0b74b6363fa38576d40a3ab4531a047f028 (diff)
downloadrpm-d8741ebc13c4981b0df788c7a481396b79213a01.tar.gz
rpm-d8741ebc13c4981b0df788c7a481396b79213a01.tar.bz2
rpm-d8741ebc13c4981b0df788c7a481396b79213a01.zip
Silence bunch of compiler warnings from test programs
Diffstat (limited to 'rpmdb')
-rw-r--r--rpmdb/tdbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdb/tdbi.c b/rpmdb/tdbi.c
index 66ad5a40d..c637275d6 100644
--- a/rpmdb/tdbi.c
+++ b/rpmdb/tdbi.c
@@ -58,7 +58,7 @@ main(int argc, char *argv[])
}
kval = key.data;
klen = key.size;
- printf("%3d %.*s\t%p[%d]\n", nrecs, klen, kval, data.data, data.size);
+ printf("%3d %.*s\t%p[%d]\n", nrecs, (int) klen, kval, data.data, data.size);
memset(&key, 0, sizeof(key));
memset(&data, 0, sizeof(data));