X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fosi%2Fosi.c;h=0134eb0f5ea401c583fde78520cbb5016f8c3faf;hb=d3c008d108aa2187d1a2afe2833b4de25ca2c2ab;hp=34c867f1bf59edea2ab14e12b7ea3bedf9609b38;hpb=9bce0f6d7c3f7f1d5f2989ff1157c2a1039cdef6;p=vpp.git diff --git a/src/vnet/osi/osi.c b/src/vnet/osi/osi.c index 34c867f1bf5..0134eb0f5ea 100644 --- a/src/vnet/osi/osi.c +++ b/src/vnet/osi/osi.c @@ -65,7 +65,7 @@ format_osi_header_with_length (u8 * s, va_list * args) osi_header_t *h = va_arg (*args, osi_header_t *); u32 max_header_bytes = va_arg (*args, u32); osi_protocol_t p = h->protocol; - uword indent, header_bytes; + u32 indent, header_bytes; header_bytes = sizeof (h[0]); if (max_header_bytes != 0 && header_bytes > max_header_bytes)