Skip to content
Commit b2c44a53 authored by David Howells's avatar David Howells Committed by Sven Eckelmann
Browse files

batman-adv: count_real_packets() in batman-adv assumes char is signed



count_real_packets() in batman-adv assumes char is signed, and returns -1
through it:

net/batman-adv/routing.c: In function 'receive_bat_packet':
net/batman-adv/routing.c:739: warning: comparison is always false due to limited range of data type

Use int instead.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
[sven@narfation.org: Rebase on top of current version]
Signed-off-by: default avatarSven Eckelmann <sven@narfation.org>
parent db69ecfc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment