From 412fcff0cb30c99fea9aef33bcbd24dd952fdf37 Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Sat, 13 Apr 2013 17:55:54 +0000 Subject: [PATCH] add a cast to make capinfos compile when USE_GOPTION is defined svn path=/trunk/; revision=48839 --- capinfos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capinfos.c b/capinfos.c index 78655ab1b4..f63b379801 100644 --- a/capinfos.c +++ b/capinfos.c @@ -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);