From: Amos Jeffries Date: Mon, 26 Aug 2013 10:01:53 +0000 (-0600) Subject: Windows: fix getopt.c build error with MinGW X-Git-Tag: SQUID_3_5_0_1~655 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85acc570537ebeb0cf0b458986660c73c750f69f;p=thirdparty%2Fsquid.git Windows: fix getopt.c build error with MinGW Resolve warning 'initialization discards const qualifieer from pointer'. This is an iCelero project. --- 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 --