Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 38e3c5f0 authored by Sven Eckelmann's avatar Sven Eckelmann
Browse files

batman-adv: Don't do pointer arithmetic with void*



The size of void is currently set by gcc to 1, but is not well defined
in general. Therefore it is more advisable to cast it to char* before
doing pointer arithmetic.

Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
parent 16f14b45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment