diff options
author | 2011-06-15 09:41:37 +0200 | |
---|---|---|
committer | 2011-06-20 11:37:18 +0200 | |
commit | b4e1705417c6cc7d46d9020259a2c8f457cf82bd (patch) | |
tree | d057a27c91d0bce396726878a6c8995f0d5b0d3b /net/batman-adv/send.h | |
parent | batman-adv: count_real_packets() in batman-adv assumes char is signed (diff) | |
download | linux-b4e1705417c6cc7d46d9020259a2c8f457cf82bd.tar.gz linux-b4e1705417c6cc7d46d9020259a2c8f457cf82bd.tar.bz2 linux-b4e1705417c6cc7d46d9020259a2c8f457cf82bd.zip |
batman-adv: Reduce usage of char
char was used in different places to store information without really
using the characteristics of that data type or by ignoring the fact that
char has not a well defined signedness.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/send.h')
-rw-r--r-- | net/batman-adv/send.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/send.h b/net/batman-adv/send.h index eceab870024d..6d9c14d75977 100644 --- a/net/batman-adv/send.h +++ b/net/batman-adv/send.h @@ -28,7 +28,7 @@ void schedule_own_packet(struct hard_iface *hard_iface); void schedule_forward_packet(struct orig_node *orig_node, const struct ethhdr *ethhdr, struct batman_packet *batman_packet, - uint8_t directlink, int tt_buff_len, + int directlink, int tt_buff_len, struct hard_iface *if_outgoing); int add_bcast_packet_to_list(struct bat_priv *bat_priv, const struct sk_buff *skb); |