Futex: turn "int" into "int32_t" for portability
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 11 Jun 2011 00:16:28 +0000 (20:16 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 11 Jun 2011 00:16:28 +0000 (20:16 -0400)
commit6d841bc23fc94345fe76651d73c1a3f821a85aa7
tree0475ac0b32f7a20909915d93fdabe0359ea9c011
parente0ab43eb922df8fee5f28416d41fa3b2ca4a7a43
Futex: turn "int" into "int32_t" for portability

Even though int is 32-bit on all architectures supported by liburcu so
far, make it future-proof by uint a int32_t, which enforces the same
type width used by the system call in the kernel.

Using int32_t and not uint32_t to make comparison with 0 more
straightforward.

Reported-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
compat_futex.c
urcu-call-rcu-impl.h
urcu-defer-impl.h
urcu-qsbr.c
urcu.c
urcu/futex.h
urcu/static/urcu-qsbr.h
urcu/static/urcu.h
This page took 0.033473 seconds and 4 git commands to generate.