From d8741ebc13c4981b0df788c7a481396b79213a01 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 7 Nov 2007 11:00:51 +0200 Subject: Silence bunch of compiler warnings from test programs --- rpmdb/tdbi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpmdb/tdbi.c') 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)); -- cgit v1.2.3