Fix: `void *` arithmetic compiler warning
authortherealthingy <therealthingy95@gmail.com>
Wed, 19 Apr 2023 09:43:09 +0000 (11:43 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Apr 2023 16:57:19 +0000 (12:57 -0400)
commitdf014a666f899748124822fded3540054cd311e2
tree73eefbb304594d6121ab161ffc9eebbf0dc22ac3
parent3664a7189cbad9a577ca016380d2718b82ddeefd
Fix: `void *` arithmetic compiler warning

Fixes warning "pointer of type ‘void *’ used in subtraction [-Wpointer-arith]"
which was observed on gcc 11.3.0 on Ubuntu 22.04 LTS Linux 6.3.0 RC7 x86-64.

This warning was enabled by the flag `-Wpedantic`.

Link: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-arith
Signed-off-by: Gerrit Klein <therealthingy95@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Icfcf1d39bcde3730bf38c9ec6ed1521ed4503625
src/rseq.c
This page took 0.02611 seconds and 4 git commands to generate.