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: NSven Eckelmann <sven@narfation.org>
Showing
想要评论请 注册 或 登录