mingw: avoid const warning

Fix const warnings in http-fetch.c and remote-curl.c main() where is argv declared as const. The fix should work for all future declarations of main, no matter whether the second parameter's type is "char**", "const char**", or "char *[]". Signed-off-by: Stepan Kasal <kasal@ucw.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stepan Kasal committed Jun 7, 2014 at 08:46 UTC a15d4af4497d147bfdb672e121b67db335ec1c21
1 file changed +1 -1
compat/mingw.h
+1 -1
@@ -372,7 +372,7 @@ static int mingw_main(c,v); \
372 int main(int argc, char **argv) \
373 { \
374 mingw_startup(); \
375 - return mingw_main(__argc, __argv); \
375 + return mingw_main(__argc, (void *)__argv); \
376 } \
377 static int mingw_main(c,v)
378