snap_header_t *h = va_arg (*args, snap_header_t *);
snap_protocol_info_t *pi = snap_get_protocol_info (sm, h);
u32 max_header_bytes = va_arg (*args, u32);
- uword indent, header_bytes;
+ u32 indent, header_bytes;
header_bytes = sizeof (h[0]);
if (max_header_bytes != 0 && header_bytes > max_header_bytes)
{
snap_main_t *sm = &snap_main;
- memset (sm, 0, sizeof (sm[0]));
+ clib_memset (sm, 0, sizeof (sm[0]));
sm->vlib_main = vm;
mhash_init (&sm->protocol_hash, sizeof (uword),