]> git.tuebingen.mpg.de Git - osl.git/commitdiff
Fix a gcc warning on x86_64.
authorAndre Noll <maan@systemlinux.org>
Mon, 13 Jul 2009 08:56:37 +0000 (10:56 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 13 Jul 2009 08:56:37 +0000 (10:56 +0200)
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

diff --git a/fsck.c b/fsck.c
index f700e9f9624c6437b33c04d0418767c364da79e3..22f6609e01e2e473b3b76370148d746c4ec31fec 100644 (file)
--- 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;