Fix: use int rather than off_t for offsets
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Jan 2022 20:17:33 +0000 (15:17 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Jan 2022 20:17:33 +0000 (15:17 -0500)
commit07fac86574c717fe45efc1b5f466748cdf39e836
tree6dcefbab6bdb9923f1c5b20a95591f9a56d400d3
parent00fa09404a2a7f57e97418258ae344407882bd85
Fix: use int rather than off_t for offsets

off_t can be a 64-bit type on 32-bit systems, leading to issues on
32-bit big endian systems (ppc32) where the inline assembler expects a
32-bit register.

There is no point in using off_t here.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I9936a1d8e9b64a51f3e1491f1a23204f1cd9c120
include/rseq/rseq-arm.h
include/rseq/rseq-arm64.h
include/rseq/rseq-mips.h
include/rseq/rseq-ppc.h
include/rseq/rseq-s390.h
include/rseq/rseq-skip.h
include/rseq/rseq-x86.h
tests/basic_percpu_ops_test.c
tests/param_test.c
This page took 0.041932 seconds and 4 git commands to generate.