forked from osmocom/wireshark
add a cast to make capinfos compile when USE_GOPTION is defined
svn path=/trunk/; revision=48839
This commit is contained in:
parent
ff72006da8
commit
412fcff0cb
|
@ -1188,7 +1188,7 @@ main(int argc, char *argv[])
|
||||||
displayed is not exactly the same as the command the user used
|
displayed is not exactly the same as the command the user used
|
||||||
ran.
|
ran.
|
||||||
*/
|
*/
|
||||||
argv[0] = "capinfos";
|
argv[0] = (char *)"capinfos";
|
||||||
;
|
;
|
||||||
if( !g_option_context_parse(ctx, &argc, &argv, &parse_err) ) {
|
if( !g_option_context_parse(ctx, &argc, &argv, &parse_err) ) {
|
||||||
if(parse_err) g_print ("option parsing failed: %s\n", parse_err->message);
|
if(parse_err) g_print ("option parsing failed: %s\n", parse_err->message);
|
||||||
|
|
Loading…
Reference in New Issue