X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fhdlc%2Fhdlc.c;h=abb0dc3d22101df17881877ddb327712033828e2;hb=d3c008d108aa2187d1a2afe2833b4de25ca2c2ab;hp=174085ac519e6b2f36c49ba62390b46fe1908d66;hpb=9bce0f6d7c3f7f1d5f2989ff1157c2a1039cdef6;p=vpp.git diff --git a/src/vnet/hdlc/hdlc.c b/src/vnet/hdlc/hdlc.c index 174085ac519..abb0dc3d221 100644 --- a/src/vnet/hdlc/hdlc.c +++ b/src/vnet/hdlc/hdlc.c @@ -63,7 +63,7 @@ u8 * format_hdlc_header_with_length (u8 * s, va_list * args) hdlc_header_t * h = va_arg (*args, hdlc_header_t *); u32 max_header_bytes = va_arg (*args, u32); hdlc_protocol_t p = clib_net_to_host_u16 (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)