]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-m3ua.c
Shorten sizeof to u_int, to match the %u format used with it.
[tcpdump] / print-m3ua.c
index 4e5d1413c396718d9484ed03cefe3a13381a6104..f3dbfbf51c28916c229a6fff0ce8fa20f37a461e 100644 (file)
@@ -224,7 +224,7 @@ tag_value_print(netdissect_options *ndo,
     break;
   /* ... */
   default:
-    ND_PRINT((ndo, "(length %u)", size + sizeof(struct m3ua_param_header)));
+    ND_PRINT((ndo, "(length %u)", size + (u_int)sizeof(struct m3ua_param_header)));
     ND_TCHECK2(*buf, size);
   }
   return;