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.9.0~45 X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=2917c006f87be3f55bd7ba2119d7fbc79f7677d7;hp=2917c006f87be3f55bd7ba2119d7fbc79f7677d7 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 ---