From 527af27eeb0753af7f7132cf60b7d283c652b9d0 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 13 Jul 2009 10:56:37 +0200 Subject: [PATCH] Fix a gcc warning on x86_64. fsck.c: In function 'check_for_invalid_objects': fsck.c:513: warning: format '%u' expects type 'unsigned int', but argument 5 has type 'size_t' --- fsck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsck.c b/fsck.c index f700e9f..22f6609 100644 --- a/fsck.c +++ b/fsck.c @@ -510,7 +510,7 @@ static int check_for_invalid_objects(struct osl_table *t, uint32_t **lost_bytes) /* first count used bytes */ FOR_EACH_MAPPED_COLUMN(i, t, cd) { loss[i] = t->columns[i].data_map.size; - DEBUG_LOG("column %i data map: %u bytes\n", i, + DEBUG_LOG("column %i data map: %zu bytes\n", i, t->columns[i].data_map.size); for (j = 0; j < t->num_rows; j++) { struct osl_object obj; -- 2.39.2