diff options
author | Sven Eckelmann <sven@narfation.org> | 2011-06-15 09:41:37 +0200 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-06-20 11:37:18 +0200 |
commit | b4e1705417c6cc7d46d9020259a2c8f457cf82bd (patch) | |
tree | d057a27c91d0bce396726878a6c8995f0d5b0d3b /net/batman-adv/gateway_client.c | |
parent | b2c44a53836559b5e2823aa215c979c33bc9e2db (diff) | |
download | op-kernel-dev-b4e1705417c6cc7d46d9020259a2c8f457cf82bd.zip op-kernel-dev-b4e1705417c6cc7d46d9020259a2c8f457cf82bd.tar.gz |
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/gateway_client.c')
-rw-r--r-- | net/batman-adv/gateway_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/gateway_client.c b/net/batman-adv/gateway_client.c index 24aee56..7248de2 100644 --- a/net/batman-adv/gateway_client.c +++ b/net/batman-adv/gateway_client.c @@ -360,7 +360,7 @@ void gw_node_purge(struct bat_priv *bat_priv) struct gw_node *gw_node, *curr_gw; struct hlist_node *node, *node_tmp; unsigned long timeout = 2 * PURGE_TIMEOUT * HZ; - char do_deselect = 0; + int do_deselect = 0; curr_gw = gw_get_selected_gw_node(bat_priv); |