From: Mathieu Desnoyers Date: Mon, 21 Sep 2015 20:48:07 +0000 (-0400) Subject: Fix: format string signedness X-Git-Tag: v0.7.16~1 X-Git-Url: http://git.liburcu.org/?p=userspace-rcu.git;a=commitdiff_plain;h=143f99b421adc86061c6ce9e70dc932e12303658 Fix: format string signedness Detected by cppcheck. Signed-off-by: Mathieu Desnoyers --- diff --git a/rculfhash.c b/rculfhash.c index 8081dc7..e17fd42 100644 --- a/rculfhash.c +++ b/rculfhash.c @@ -1385,7 +1385,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)))