summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-15 22:21:17 -0500
committermidipix <writeonce@midipix.org>2016-11-15 22:22:36 -0500
commit6eeec58462aa07a8361cbb0be98f43e8209d992d (patch)
treeea9b47176c07045804379a570a9576dda002bd4b /src
parent4b9f6cf0669e94c42ba036ef616f9aa37875ae95 (diff)
downloadperk-6eeec58462aa07a8361cbb0be98f43e8209d992d.tar.bz2
perk-6eeec58462aa07a8361cbb0be98f43e8209d992d.tar.xz
info: pe_subtype_str[] array definition: be pedantic.
Diffstat (limited to 'src')
-rw-r--r--src/info/pe_get_image_subtype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/info/pe_get_image_subtype.c b/src/info/pe_get_image_subtype.c
index 7e19ef1..391fca3 100644
--- a/src/info/pe_get_image_subtype.c
+++ b/src/info/pe_get_image_subtype.c
@@ -11,7 +11,7 @@
/* todo: object, unrecognized */
-static const char const * pe_subtype_str[PE_SUBTYPE_CAP] = {
+static const char * const pe_subtype_str[PE_SUBTYPE_CAP] = {
[PE_SUBTYPE_UNRECOGNIZED] = "UNRECOGNIZED",
[PE_SUBTYPE_DLL] = "dll",
[PE_SUBTYPE_EXE] = "exe",