Re: [PATCH 2/2] mingw: avoid const warning

2014-06-06 Thread Karsten Blees
Am 06.06.2014 21:13, schrieb Junio C Hamano: > Karsten Blees writes: > >> Am 29.05.2014 12:47, schrieb Stepan Kasal: >>> 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 >>>

Re: [PATCH 2/2] mingw: avoid const warning

2014-06-06 Thread Junio C Hamano
Karsten Blees writes: > Am 29.05.2014 12:47, schrieb Stepan Kasal: >> 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**", "cons

Re: [PATCH 2/2] mingw: avoid const warning

2014-06-06 Thread Karsten Blees
Am 29.05.2014 12:47, schrieb Stepan Kasal: > 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 *[]". I'

[PATCH 2/2] mingw: avoid const warning

2014-05-29 Thread Stepan Kasal
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 --- compat/mingw.h | 5 +++-