From: Andre Noll Date: Mon, 13 Jul 2009 08:56:37 +0000 (+0200) Subject: Fix a gcc warning on x86_64. X-Git-Tag: v0.1.0~19 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;ds=sidebyside;h=527af27eeb0753af7f7132cf60b7d283c652b9d0;p=osl.git 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' --- 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;