From 4b9f6cf0669e94c42ba036ef616f9aa37875ae95 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 15 Nov 2016 22:20:32 -0500 Subject: info: pe_subsystem_str[] array definition: be pedantic. --- src/info/pe_get_image_subsystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/info/pe_get_image_subsystem.c b/src/info/pe_get_image_subsystem.c index 3ccf0e6..e4529aa 100644 --- a/src/info/pe_get_image_subsystem.c +++ b/src/info/pe_get_image_subsystem.c @@ -9,7 +9,7 @@ #include #include -static const char const * pe_subsystem_str[0x10] = { +static const char * const pe_subsystem_str[0x10] = { [PE_IMAGE_SUBSYSTEM_UNKNOWN] = "unknown", [PE_IMAGE_SUBSYSTEM_NATIVE] = "native", [PE_IMAGE_SUBSYSTEM_WINDOWS_GUI] = "windows", -- cgit v1.2.3