aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-08-14 01:21:13 +0000
committerGuy Harris <guy@alum.mit.edu>2013-08-14 01:21:13 +0000
commitda7c920853700355f8613990a166242cb3f16200 (patch)
tree27108b419064d361f1e19b0e56063393b40b7abf /dumpcap.c
parentab3aeb63e4ffd9ee84ea0f387c1d64838f38ef44 (diff)
I guess Solaris's getopt_long() "struct option" declaration doesn't have
enough cowbell^wconst; throw in a comment to squelch warnings. svn path=/trunk/; revision=51351
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 }
};