diff options
author | Sven Eckelmann <sven@narfation.org> | 2011-06-15 11:41:37 +0400 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-06-20 13:37:18 +0400 |
commit | b4e1705417c6cc7d46d9020259a2c8f457cf82bd (patch) | |
tree | d057a27c91d0bce396726878a6c8995f0d5b0d3b /net/batman-adv/bitarray.c | |
parent | b2c44a53836559b5e2823aa215c979c33bc9e2db (diff) | |
download | linux-b4e1705417c6cc7d46d9020259a2c8f457cf82bd.tar.xz |
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/bitarray.c')
-rw-r--r-- | net/batman-adv/bitarray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/batman-adv/bitarray.c b/net/batman-adv/bitarray.c index 3659a258ef49..c1f4bfc09cc3 100644 --- a/net/batman-adv/bitarray.c +++ b/net/batman-adv/bitarray.c @@ -127,8 +127,8 @@ static void bit_reset_window(unsigned long *seq_bits) * 1 if the window was moved (either new or very old) * 0 if the window was not moved/shifted. */ -char bit_get_packet(void *priv, unsigned long *seq_bits, - int32_t seq_num_diff, int8_t set_mark) +int bit_get_packet(void *priv, unsigned long *seq_bits, + int32_t seq_num_diff, int set_mark) { struct bat_priv *bat_priv = priv; |