summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-15 22:20:32 -0500
committermidipix <writeonce@midipix.org>2016-11-15 22:22:33 -0500
commit4b9f6cf0669e94c42ba036ef616f9aa37875ae95 (patch)
tree93d91368608e4167dcf941634f225f858f77e96d
parent6ad4d2839b7a9f0f2330e9cedb3985877386630d (diff)
downloadperk-4b9f6cf0669e94c42ba036ef616f9aa37875ae95.tar.bz2
perk-4b9f6cf0669e94c42ba036ef616f9aa37875ae95.tar.xz
info: pe_subsystem_str[] array definition: be pedantic.
-rw-r--r--src/info/pe_get_image_subsystem.c2
1 files changed, 1 insertions, 1 deletions
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 <perk/perk.h>
#include <perk/perk_meta.h>
-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",