diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-08-14 01:21:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-08-14 01:21:13 +0000 |
commit | da7c920853700355f8613990a166242cb3f16200 (patch) | |
tree | 27108b419064d361f1e19b0e56063393b40b7abf /dumpcap.c | |
parent | ab3aeb63e4ffd9ee84ea0f387c1d64838f38ef44 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } }; |