From: Sven Eckelmann Date: Sat, 14 May 2011 21:14:49 +0000 (+0200) Subject: batman-adv: Don't do pointer arithmetic with void* X-Git-Tag: v3.1-rc1~316^2~412^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38e3c5f0dae7a3bbb32c3b2bb28c3f2557d40fe9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed