]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-slow.c
Fix a bunch of de-constifications.
[tcpdump] / print-slow.c
index 968534e5c9b06e52e581e1b3badfd067d06df536..b46ae007a6f91588ffbc8cdd9fc976f93e476848 100644 (file)
@@ -476,7 +476,7 @@ slow_oam_print(netdissect_options *ndo,
         const struct slow_oam_loopbackctrl_t *slow_oam_loopbackctrl;
     } tlv;
 
-    ptr.slow_oam_common_header = (struct slow_oam_common_header_t *)tptr;
+    ptr.slow_oam_common_header = (const struct slow_oam_common_header_t *)tptr;
     tptr += sizeof(struct slow_oam_common_header_t);
     tlen -= sizeof(struct slow_oam_common_header_t);