From 0627f2cda1aabccbe55a77ed53962bcb81bf50f7 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sat, 25 Jun 2022 18:45:49 +0300 Subject: [PATCH] mem: Fix formatting for nrefs and size. --- src/mem/mem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mem/mem.c b/src/mem/mem.c index 55461ff9a..1f08e18c3 100644 --- a/src/mem/mem.c +++ b/src/mem/mem.c @@ -383,9 +383,9 @@ static bool debug_handler(struct le *le, void *arg) (void)arg; - (void)re_fprintf(stderr, " %p: nrefs=%-2u", p, m->nrefs); + (void)re_fprintf(stderr, " %p: nrefs=%-2zu", p, m->nrefs); - (void)re_fprintf(stderr, " size=%-7u", m->size); + (void)re_fprintf(stderr, " size=%-7zu", m->size); (void)re_fprintf(stderr, " [");