diff options
author | Sven Eckelmann <sven@narfation.org> | 2011-05-14 23:14:49 +0200 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-05-30 07:39:30 +0200 |
commit | 38e3c5f0dae7a3bbb32c3b2bb28c3f2557d40fe9 (patch) | |
tree | f0a64eaf3709c5ca1455a1c66ce0a9c22c5c4961 /net/batman-adv/vis.c | |
parent | batman-adv: Remove comparising < 0 for unsigned type (diff) | |
download | linux-38e3c5f0dae7a3bbb32c3b2bb28c3f2557d40fe9.tar.xz linux-38e3c5f0dae7a3bbb32c3b2bb28c3f2557d40fe9.zip |
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>
Diffstat (limited to 'net/batman-adv/vis.c')
0 files changed, 0 insertions, 0 deletions