]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-m3ua.c
CI: Add warning exemptions for Sun C (suncc-5.15) on Solaris 10
[tcpdump] / print-m3ua.c
index 66ec9efd1ca4624ced36aba639e0e1380bcdebc5..403a417b0202f7a628f883de8a1e2441b1ddc689 100644 (file)
@@ -26,9 +26,7 @@
 
 /* RFC 4666 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
@@ -233,7 +231,7 @@ tag_value_print(netdissect_options *ndo,
     break;
   /* ... */
   default:
-    ND_PRINT("(length %u)", size + (u_int)sizeof(struct m3ua_param_header));
+    ND_PRINT("(length %zu)", size + sizeof(struct m3ua_param_header));
   }
   ND_TCHECK_LEN(buf, size);
   return;