From: Mathieu Desnoyers Date: Wed, 9 Oct 2024 01:16:35 +0000 (-0400) Subject: Cleanup: Replace "unsigned" by "unsigned int" X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=1f62f2c757d10d55af2b9519a97f81ac1e5cb178;p=librseq.git Cleanup: Replace "unsigned" by "unsigned int" Signed-off-by: Mathieu Desnoyers Change-Id: Id77e0140ec3594d70bd91d5cecdfa9a1d738aff1 --- diff --git a/src/rseq.c b/src/rseq.c index 9b5470e..c684877 100644 --- a/src/rseq.c +++ b/src/rseq.c @@ -81,7 +81,7 @@ static int sys_rseq(struct rseq_abi *rseq_abi, uint32_t rseq_len, return syscall(__NR_rseq, rseq_abi, rseq_len, flags, sig); } -static int sys_getcpu(unsigned *cpu, unsigned *node) +static int sys_getcpu(unsigned int *cpu, unsigned int *node) { return syscall(__NR_getcpu, cpu, node, NULL); } @@ -116,7 +116,7 @@ bool rseq_available(unsigned int query) /* The rseq areas need to be at least 32 bytes. */ static -unsigned get_rseq_min_alloc_size(void) +unsigned int get_rseq_min_alloc_size(void) { unsigned int alloc_size = rseq_size;