From: Ferry Huberts Date: Sat, 9 Apr 2016 21:36:05 +0000 (+0200) Subject: lq plugins: explicit unsigned for LINK_COST_BROKEN and ROUTE_COST_BROKEN X-Git-Tag: v0.9.5~230 X-Git-Url: http://olsr.org/git/?p=olsrd.git;a=commitdiff_plain;h=5a5406d4b2d9f2df8be0bc16b33d5c805ee0335a lq plugins: explicit unsigned for LINK_COST_BROKEN and ROUTE_COST_BROKEN Signed-off-by: Ferry Huberts --- diff --git a/src/lq_plugin.h b/src/lq_plugin.h index f7cddab5..3a7ddb9b 100644 --- a/src/lq_plugin.h +++ b/src/lq_plugin.h @@ -49,9 +49,9 @@ #include "packet.h" #include "common/avl.h" -#define LINK_COST_BROKEN (1<<22) -#define ROUTE_COST_BROKEN (0xffffffff) -#define ZERO_ROUTE_COST 0 +#define LINK_COST_BROKEN (1u<<22) +#define ROUTE_COST_BROKEN (0xffffffffu) +#define ZERO_ROUTE_COST 0u #define MINIMAL_USEFUL_LQ 0.1 #define LQ_PLUGIN_RELEVANT_COSTCHANGE 16