aboutsummaryrefslogtreecommitdiffstats
path: root/randpkt.c
diff options
context:
space:
mode:
Diffstat (limited to 'randpkt.c')
-rw-r--r--randpkt.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/randpkt.c b/randpkt.c
index e6de985226..ec34a35471 100644
--- a/randpkt.c
+++ b/randpkt.c
@@ -86,12 +86,10 @@ main(int argc, char **argv)
guint8* type = NULL;
int allrandom = FALSE;
wtap_dumper *savedump;
-DIAG_OFF(cast-qual)
static const struct option long_options[] = {
- {(char *)"help", no_argument, NULL, 'h'},
+ {"help", no_argument, NULL, 'h'},
{0, 0, 0, 0 }
};
-DIAG_ON(cast-qual)
#ifdef _WIN32
arg_list_utf_16to8(argc, argv);