diff options
Diffstat (limited to 'src/vnet/hdlc')
-rw-r--r-- | src/vnet/hdlc/hdlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |