aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpcap.c b/dumpcap.c
index f68a1ef999..afed5d8690 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -4131,7 +4131,7 @@ main(int argc, char *argv[])
GString *runtime_info_str;
int opt;
struct option long_options[] = {
- {"capture-comment", required_argument, NULL, LONGOPT_NUM_CAP_COMMENT },
+ {(char *)"capture-comment", required_argument, NULL, LONGOPT_NUM_CAP_COMMENT },
{0, 0, 0, 0 }
};