From: Mathieu Desnoyers Date: Mon, 21 Sep 2015 20:48:07 +0000 (-0400) Subject: Fix: format string signedness X-Git-Tag: v0.9.0~29 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e15df1cc24bf510057fd0fc950eadf1c09575923;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 454001d..710751b 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)))