diff options
author | midipix <writeonce@midipix.org> | 2016-11-15 22:21:17 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-15 22:22:36 -0500 |
commit | 6eeec58462aa07a8361cbb0be98f43e8209d992d (patch) | |
tree | ea9b47176c07045804379a570a9576dda002bd4b | |
parent | 4b9f6cf0669e94c42ba036ef616f9aa37875ae95 (diff) | |
download | perk-6eeec58462aa07a8361cbb0be98f43e8209d992d.tar.bz2 perk-6eeec58462aa07a8361cbb0be98f43e8209d992d.tar.xz |
info: pe_subtype_str[] array definition: be pedantic.
-rw-r--r-- | src/info/pe_get_image_subtype.c | 2 |
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", |