From: Mathieu Desnoyers Date: Mon, 21 Sep 2015 20:48:07 +0000 (-0400) Subject: Fix: format string signedness X-Git-Tag: v0.8.9~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=28f7cd11e179652b78b07a2b2fc1c5fbcf745527;p=userspace-rcu.git Fix: format string signedness Detected by cppcheck. Signed-off-by: Mathieu Desnoyers --- diff --git a/rculfhash.c b/rculfhash.c index 57f1a04..517b6a9 100644 --- a/rculfhash.c +++ b/rculfhash.c @@ -1386,7 +1386,7 @@ void fini_table(struct cds_lfht *ht, unsigned long len; len = 1UL << (i - 1); - dbg_printf("fini order %lu len: %lu\n", i, len); + dbg_printf("fini order %ld len: %lu\n", i, len); /* Stop shrink if the resize target changes under us */ if (CMM_LOAD_SHARED(ht->resize_target) > (1UL << (i - 1)))