summaryrefslogtreecommitdiffstats
path: root/source3/tdb/tdbdump.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/tdb/tdbdump.c')
-rw-r--r--source3/tdb/tdbdump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/tdb/tdbdump.c b/source3/tdb/tdbdump.c
index 17ae536bc4a..3efb29e44c1 100644
--- a/source3/tdb/tdbdump.c
+++ b/source3/tdb/tdbdump.c
@@ -49,10 +49,10 @@ static void print_data(TDB_DATA d)
static int traverse_fn(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, void *state)
{
printf("{\n");
- printf("key(%d) = \"",key.dsize);
+ printf("key(%d) = \"", (int)key.dsize);
print_data(key);
printf("\"\n");
- printf("data(%d) = \"",dbuf.dsize);
+ printf("data(%d) = \"", (int)dbuf.dsize);
print_data(dbuf);
printf("\"\n");
printf("}\n");