From 6eeec58462aa07a8361cbb0be98f43e8209d992d Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 15 Nov 2016 22:21:17 -0500 Subject: info: pe_subtype_str[] array definition: be pedantic. --- src/info/pe_get_image_subtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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", -- cgit v1.2.3