X11 (doc): now more of 200Mb for mesa git repo
[metze/wireshark/wip.git] / randpkt.c
index 9ddfd78e28d723784c62654ed18253bcebd06620..bf391be2bbe1843d2fbd95fbcea32ec7aaae63a5 100644 (file)
--- a/randpkt.c
+++ b/randpkt.c
@@ -48,6 +48,7 @@
 #include <glib.h>
 #include "wiretap/wtap.h"
 #include "wsutil/file_util.h"
+#include <wsutil/ws_diag_control.h>
 
 #ifdef _WIN32
 #include <wsutil/unicode-utils.h>
@@ -512,10 +513,12 @@ main(int argc, char **argv)
        char                    *produce_filename = NULL;
        int                     produce_max_bytes = 5000;
        pkt_example             *example;
+DIAG_OFF(cast-qual)
        static const struct option long_options[] = {
                {(char *)"help", no_argument, NULL, 'h'},
                {0, 0, 0, 0 }
        };
+DIAG_ON(cast-qual)
 
 #ifdef _WIN32
        arg_list_utf_16to8(argc, argv);