summaryrefslogtreecommitdiff
path: root/net/batman-adv/aggregation.h
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2011-06-15 09:41:37 +0200
committerSven Eckelmann <sven@narfation.org>2011-06-20 11:37:18 +0200
commitb4e1705417c6cc7d46d9020259a2c8f457cf82bd (patch)
treed057a27c91d0bce396726878a6c8995f0d5b0d3b /net/batman-adv/aggregation.h
parentb2c44a53836559b5e2823aa215c979c33bc9e2db (diff)
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/aggregation.h')
-rw-r--r--net/batman-adv/aggregation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/aggregation.h b/net/batman-adv/aggregation.h
index fedeb8d0e13..0547fd8ea3b 100644
--- a/net/batman-adv/aggregation.h
+++ b/net/batman-adv/aggregation.h
@@ -35,7 +35,7 @@ static inline int aggregated_packet(int buff_pos, int packet_len, int num_tt)
void add_bat_packet_to_list(struct bat_priv *bat_priv,
unsigned char *packet_buff, int packet_len,
- struct hard_iface *if_incoming, char own_packet,
+ struct hard_iface *if_incoming, int own_packet,
unsigned long send_time);
void receive_aggr_bat_packet(const struct ethhdr *ethhdr,
unsigned char *packet_buff, int packet_len,