X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fsrp%2Fformat.c;h=408723a36060f721a92665eaa66e28e529246737;hb=refs%2Fchanges%2F21%2F8621%2F3;hp=a0250cc976f0e87b1e8a9c76f23b6c403d088e3f;hpb=9bce0f6d7c3f7f1d5f2989ff1157c2a1039cdef6;p=vpp.git diff --git a/src/vnet/srp/format.c b/src/vnet/srp/format.c index a0250cc976f..408723a3606 100644 --- a/src/vnet/srp/format.c +++ b/src/vnet/srp/format.c @@ -65,7 +65,7 @@ u8 * format_srp_header_with_length (u8 * s, va_list * args) srp_and_ethernet_header_t * h = va_arg (*args, srp_and_ethernet_header_t *); u32 max_header_bytes = va_arg (*args, u32); ethernet_main_t * em = ðernet_main; - uword indent, header_bytes; + u32 indent, header_bytes; header_bytes = sizeof (h[0]); if (max_header_bytes != 0 && header_bytes > max_header_bytes)