mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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: Sven Eckelmann <sven@narfation.org>
This commit is contained in:
parent
16f14b45c4
commit
38e3c5f0da
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue