From 9c60f167400f95091bdee60065737488f04c6660 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Tue, 10 Sep 2013 18:58:53 -0600 Subject: [PATCH] Windows: fix getopt.c build error with MinGW Resolve warning 'initialization discards const qualifieer from pointer'. This is an iCelero project. --- lib/getopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/getopt.c b/lib/getopt.c index e95fbc94c4..a4083f5fbe 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -45,7 +45,7 @@ char *optarg; /* argument associated with option */ #define BADCH (int)'?' #define BADARG (int)':' -#define EMSG "" +#define EMSG (char*)"" /* * getopt -- -- 2.47.2