X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=urcu.c;h=140cd19b98add54f276755e08b13bfad9e8c3d0c;hp=5e8c6127a8c2f6413d56e95f66eba8c827595c85;hb=27d65bc5db18f8563a9120924569acffb845ec4d;hpb=25cc6d18cb2fc9964adf2c1edb53c5539e279382 diff --git a/urcu.c b/urcu.c index 5e8c612..140cd19 100644 --- a/urcu.c +++ b/urcu.c @@ -67,7 +67,7 @@ int gp_futex; * Also has a RCU_GP_COUNT of 1, to accelerate the reader fast path. * Written to only by writer with mutex taken. Read by both writer and readers. */ -long rcu_gp_ctr = RCU_GP_COUNT; +unsigned long rcu_gp_ctr = RCU_GP_COUNT; /* * Written to only by each individual reader. Read by both the reader and the