From: Khem Raj Date: Sun, 23 Aug 2015 04:38:30 +0000 (-0700) Subject: uatomic: Specify complete types for atomic function calls X-Git-Tag: v0.7.15~2 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=7a3e2ed26a6be1deac2cfde1d062526497d4ae9f;hp=7a3e2ed26a6be1deac2cfde1d062526497d4ae9f;p=userspace-rcu.git uatomic: Specify complete types for atomic function calls This was unearthed by clang compiler where it complained about parameter mismatch, gcc doesnt notice this urcu/uatomic/generic.h:190:10: error: address argument to atomic builtin must be a pointer to integer or pointer ('void *' invalid) return __sync_add_and_fetch_4(addr, val); Fixed all instances thusly. [ Edit by Mathieu: use stdint.h types. ] Signed-off-by: Khem Raj Signed-off-by: Mathieu Desnoyers ---