From: Amos Jeffries Date: Wed, 11 Sep 2013 00:58:53 +0000 (-0600) Subject: Windows: fix getopt.c build error with MinGW X-Git-Tag: SQUID_3_3_10~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c60f167400f95091bdee60065737488f04c6660;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 --