Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixes for 'make UNATTENDED=yes CC=clang CXX=clang verify'
[vpp.git]
/
src
/
plugins
/
ioam
/
lib-vxlan-gpe
/
vxlan_gpe_ioam_trace.c
diff --git
a/src/plugins/ioam/lib-vxlan-gpe/vxlan_gpe_ioam_trace.c
b/src/plugins/ioam/lib-vxlan-gpe/vxlan_gpe_ioam_trace.c
index
f3d03b6
..
e758b52
100644
(file)
--- a/
src/plugins/ioam/lib-vxlan-gpe/vxlan_gpe_ioam_trace.c
+++ b/
src/plugins/ioam/lib-vxlan-gpe/vxlan_gpe_ioam_trace.c
@@
-89,7
+89,7
@@
vxlan_gpe_ioam_add_register_option (u8 option,
{
vxlan_gpe_ioam_main_t *hm = &vxlan_gpe_ioam_main;
{
vxlan_gpe_ioam_main_t *hm = &vxlan_gpe_ioam_main;
- ASSERT (option < ARRAY_LEN (hm->add_options));
+ ASSERT (
(u32)
option < ARRAY_LEN (hm->add_options));
/* Already registered */
if (hm->add_options[option])
/* Already registered */
if (hm->add_options[option])
@@
-106,7
+106,7
@@
vxlan_gpe_add_unregister_option (u8 option)
{
vxlan_gpe_ioam_main_t *hm = &vxlan_gpe_ioam_main;
{
vxlan_gpe_ioam_main_t *hm = &vxlan_gpe_ioam_main;
- ASSERT (option < ARRAY_LEN (hm->add_options));
+ ASSERT (
(u32)
option < ARRAY_LEN (hm->add_options));
/* Not registered */
if (!hm->add_options[option])
/* Not registered */
if (!hm->add_options[option])
@@
-128,7
+128,7
@@
vxlan_gpe_ioam_register_option (u8 option,
{
vxlan_gpe_ioam_main_t *im = &vxlan_gpe_ioam_main;
{
vxlan_gpe_ioam_main_t *im = &vxlan_gpe_ioam_main;
- ASSERT (option < ARRAY_LEN (im->options));
+ ASSERT (
(u32)
option < ARRAY_LEN (im->options));
/* Already registered */
if (im->options[option])
/* Already registered */
if (im->options[option])
@@
-145,7
+145,7
@@
vxlan_gpe_ioam_unregister_option (u8 option)
{
vxlan_gpe_ioam_main_t *hm = &vxlan_gpe_ioam_main;
{
vxlan_gpe_ioam_main_t *hm = &vxlan_gpe_ioam_main;
- ASSERT (option < ARRAY_LEN (hm->options));
+ ASSERT (
(u32)
option < ARRAY_LEN (hm->options));
/* Not registered */
if (!hm->options[option])
/* Not registered */
if (!hm->options[option])