From 4f36c2333db69381b02864a2d6769f3bf4c872e5 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 15 Nov 2016 22:24:31 -0500 Subject: output: pe_error_strings[] array definition: be pedantic. --- src/output/pe_output_error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output') diff --git a/src/output/pe_output_error.c b/src/output/pe_output_error.c index 401ef6b..52ae2ce 100644 --- a/src/output/pe_output_error.c +++ b/src/output/pe_output_error.c @@ -18,7 +18,7 @@ static const char aclr_green[] = "\x1b[32m"; static const char aclr_blue[] = "\x1b[34m"; static const char aclr_magenta[] = "\x1b[35m"; -static const char const * const pe_error_strings[PERK_ERR_CAP] = { +static const char * const pe_error_strings[PERK_ERR_CAP] = { [PERK_ERR_FLOW_ERROR] = "flow error: unexpected condition or other", [PERK_ERR_FLEE_ERROR] = "flees and bugs and cats and mice", [PERK_ERR_NULL_CONTEXT] = "null driver or unit context", -- cgit v1.2.3