aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam/analyse/ip6/node.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-04-06 09:18:11 -0700
committerNeale Ranns <nranns@cisco.com>2018-04-12 06:53:38 -0400
commit756cd9441752fc8f84104c9ee19099506ba89f85 (patch)
treeda9afcf137e7cb540713d39a3c5df2b0fdd8ead2 /src/plugins/ioam/analyse/ip6/node.c
parent58c711a196d9b178bfe6190964a7df92145cf949 (diff)
Fixes for 'make UNATTENDED=yes CC=clang CXX=clang verify'
Change-Id: I994649761fe2e66e12ae0e49a84fb1d0a966ddfb Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/ioam/analyse/ip6/node.c')
-rw-r--r--src/plugins/ioam/analyse/ip6/node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/ioam/analyse/ip6/node.c b/src/plugins/ioam/analyse/ip6/node.c
index 6db6355e9f0..902fb9b09ce 100644
--- a/src/plugins/ioam/analyse/ip6/node.c
+++ b/src/plugins/ioam/analyse/ip6/node.c
@@ -424,7 +424,7 @@ ip6_ioam_analyse_register_hbh_handler (u8 option,
{
ip6_ioam_analyser_main_t *am = &ioam_analyser_main;
- ASSERT (option < ARRAY_LEN (am->analyse_hbh_handler));
+ ASSERT ((u32) option < ARRAY_LEN (am->analyse_hbh_handler));
/* Already registered */
if (am->analyse_hbh_handler[option])
@@ -440,7 +440,7 @@ ip6_ioam_analyse_unregister_hbh_handler (u8 option)
{
ip6_ioam_analyser_main_t *am = &ioam_analyser_main;
- ASSERT (option < ARRAY_LEN (am->analyse_hbh_handler));
+ ASSERT ((u32) option < ARRAY_LEN (am->analyse_hbh_handler));
/* Not registered */
if (!am->analyse_hbh_handler[option])