X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/38700c7f24646dfbc6ac0ed529d3ed727c545cd0..69cb46af9119e8b5554bcc4bf1bf36f39cb82131:/print-enc.c diff --git a/print-enc.c b/print-enc.c index 84dc01ba..445bc4a9 100644 --- a/print-enc.c +++ b/print-enc.c @@ -97,7 +97,7 @@ enc_if_print(netdissect_options *ndo, goto out; } - hdr = (struct enchdr *)p; + hdr = (const struct enchdr *)p; flags = hdr->flags; if (flags == 0) ND_PRINT((ndo, "(unprotected): "));