summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-15 22:17:54 -0500
committermidipix <writeonce@midipix.org>2016-11-15 22:22:28 -0500
commit461c111c09f2a5da30bed276c3463837229cbbfd (patch)
treedc17e0f5cc8c234478df52dd8e4594e9bd46fe8f
parent4a8ae6852ebb02de17e30b08248a8ffdc05d4620 (diff)
downloadperk-461c111c09f2a5da30bed276c3463837229cbbfd.tar.bz2
perk-461c111c09f2a5da30bed276c3463837229cbbfd.tar.xz
info: pe_abi_str[] array definition: be pedantic.
-rw-r--r--src/info/pe_get_image_abi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/info/pe_get_image_abi.c b/src/info/pe_get_image_abi.c
index 7219ba3..0c13276 100644
--- a/src/info/pe_get_image_abi.c
+++ b/src/info/pe_get_image_abi.c
@@ -9,7 +9,7 @@
#include <perk/perk.h>
#include <perk/perk_meta.h>
-static const char const * pe_abi_str[PE_ABI_CAP] = {
+static const char * const pe_abi_str[PE_ABI_CAP] = {
[PE_ABI_UNSUPPORTED] = "UNSUPPORTED",
[PE_ABI_PE32] = "PE32",
[PE_ABI_PE64] = "PE64",