From: Mathieu Desnoyers Date: Wed, 21 Sep 2011 14:22:39 +0000 (-0400) Subject: rculfhash: type the ht count approx as long X-Git-Tag: v0.7.0~43^2~130 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7de5ccfde331d6a8da047b6be30330498b143e15;p=urcu.git rculfhash: type the ht count approx as long Signed-off-by: Mathieu Desnoyers --- diff --git a/rculfhash.c b/rculfhash.c index 9a95be2..0c2b3ab 100644 --- a/rculfhash.c +++ b/rculfhash.c @@ -246,7 +246,7 @@ struct cds_lfht { void (*cds_lfht_rcu_register_thread)(void); void (*cds_lfht_rcu_unregister_thread)(void); pthread_attr_t *resize_attr; /* Resize threads attributes */ - unsigned long count; /* global approximate item count */ + long count; /* global approximate item count */ struct ht_items_count *percpu_count; /* per-cpu item count */ };