From 69cb46af9119e8b5554bcc4bf1bf36f39cb82131 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 26 Apr 2015 17:24:42 -0700 Subject: Fix a bunch of de-constifications. --- print-llc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'print-llc.c') diff --git a/print-llc.c b/print-llc.c index 1398e996..c86618b8 100644 --- a/print-llc.c +++ b/print-llc.c @@ -155,12 +155,12 @@ llc_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen, if (caplen < 3) { ND_PRINT((ndo, "[|llc]")); - ND_DEFAULTPRINT((u_char *)p, caplen); + ND_DEFAULTPRINT((const u_char *)p, caplen); return (caplen); } if (length < 3) { ND_PRINT((ndo, "[|llc]")); - ND_DEFAULTPRINT((u_char *)p, caplen); + ND_DEFAULTPRINT((const u_char *)p, caplen); return (length); } @@ -187,12 +187,12 @@ llc_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen, */ if (caplen < 4) { ND_PRINT((ndo, "[|llc]")); - ND_DEFAULTPRINT((u_char *)p, caplen); + ND_DEFAULTPRINT((const u_char *)p, caplen); return (caplen); } if (length < 4) { ND_PRINT((ndo, "[|llc]")); - ND_DEFAULTPRINT((u_char *)p, caplen); + ND_DEFAULTPRINT((const u_char *)p, caplen); return (length); } -- cgit v1.2.1