add a cast to make capinfos compile when USE_GOPTION is defined

svn path=/trunk/; revision=48839
This commit is contained in:
Martin Kaiser 2013-04-13 17:55:54 +00:00
parent ff72006da8
commit 412fcff0cb
1 changed files with 1 additions and 1 deletions

View File

@ -1188,7 +1188,7 @@ main(int argc, char *argv[])
displayed is not exactly the same as the command the user used
ran.
*/
argv[0] = "capinfos";
argv[0] = (char *)"capinfos";
;
if( !g_option_context_parse(ctx, &argc, &argv, &parse_err) ) {
if(parse_err) g_print ("option parsing failed: %s\n", parse_err->message);