compat/win32: fix const-correctness with string constants
commite7b40195ae0082d04ea8c0d1769d90ea700b76f2
authorPatrick Steinhardt <ps@pks.im>
Fri, 7 Jun 2024 06:38:44 +0000 (7 08:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 7 Jun 2024 17:30:52 +0000 (7 10:30 -0700)
tree9fe5edac29224af937c16aed1c477a313e4f4714
parent9c076c32fbb15a0887a1ed4d2afa7e5a3fd74727
compat/win32: fix const-correctness with string constants

Adjust various places in our Win32 compatibility layer where we are not
assigning string constants to `const char *` variables.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/basename.c
compat/mingw.c
compat/winansi.c