rculfhash: Only pass integral types to atomic builtins
authorOlivier Dion <odion@efficios.com>
Thu, 21 Sep 2023 20:16:21 +0000 (16:16 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 23 Sep 2023 06:00:49 +0000 (07:00 +0100)
commitdad4e6b76774924762a4eb56def7fbaee38d7653
tree5144576a6c001052dc5b53de32004acc99dc7913
parent776b7d456bc2adbd880c1917002b4c1a4b479b34
rculfhash: Only pass integral types to atomic builtins

Clang expects the pointers passed to atomic builtins to be integral. Fix
this by casting nodes address to uintptr_t *.

Change-Id: Ifb8833c493df849a542a22f0bb2baeeb85be0297
Signed-off-by: Olivier Dion <odion@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/rculfhash.c
This page took 0.024889 seconds and 4 git commands to generate.