X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwin32_apply.c;h=f971ca6f8bdeaf12c0f479832d36706edd1bd83c;hp=ada5b919e64715f776a39d3dcb4e5e0b0b351a82;hb=bb3005f9b9fff1333900d8635ad9aeda1021eb94;hpb=bc1a4ee900196f4934a79b434aa3c3ca24e65a23 diff --git a/src/win32_apply.c b/src/win32_apply.c index ada5b919..f971ca6f 100644 --- a/src/win32_apply.c +++ b/src/win32_apply.c @@ -2482,7 +2482,7 @@ set_system_compression(HANDLE h, int format) /* Hard-coded list of files which the Windows bootloader may need to access * before the WOF driver has been loaded. */ -static wchar_t *bootloader_pattern_strings[] = { +static const wchar_t * const bootloader_pattern_strings[] = { L"*winload.*", L"*winresume.*", L"\\Windows\\AppPatch\\drvmain.sdb", @@ -2514,7 +2514,7 @@ static wchar_t *bootloader_pattern_strings[] = { }; static const struct string_list bootloader_patterns = { - .strings = bootloader_pattern_strings, + .strings = (wchar_t **)bootloader_pattern_strings, .num_strings = ARRAY_LEN(bootloader_pattern_strings), };