From 9cad9482940093141973bde25aa4d78c108454cb Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Fri, 9 Nov 2007 12:26:58 +0000 Subject: [PATCH] Let's use the really correct specifier :) --- tools/attr_store.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/attr_store.c b/tools/attr_store.c index db43a6d..9cfaa25 100644 --- a/tools/attr_store.c +++ b/tools/attr_store.c @@ -697,10 +697,10 @@ attr_store_pack (Attrstore *s) s->stringhashmask = 0; fprintf (stderr, "%d\n", old_mem); - fprintf (stderr, "%ld\n", (unsigned long) s->entries * sizeof(s->ent2attr[0])); + fprintf (stderr, "%zd\n", s->entries * sizeof(s->ent2attr[0])); fprintf (stderr, "%d\n", s->attr_next_free); - fprintf (stderr, "%ld\n", (unsigned long) s->abbr_next_free * sizeof(s->abbr[0])); - fprintf (stderr, "%ld\n", (unsigned long) s->flat_abbr_next_free * sizeof(s->flat_abbr[0])); + fprintf (stderr, "%zd\n", s->abbr_next_free * sizeof(s->abbr[0])); + fprintf (stderr, "%zd\n", s->flat_abbr_next_free * sizeof(s->flat_abbr[0])); fprintf (stderr, "pages %d\n", s->num_pages); s->packed = 1; } -- 2.7.4