aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2019-08-20 23:40:13 +0200
committerGravatar Steven Schubiger <stsc@refcnt.org> 2019-08-20 23:40:13 +0200
commit6323c270d4c14a27d0b7d035698e2b16ac840ac9 (patch)
tree1d94cc43316131a4d33c768489a6f12c30bdf32e
parentc8123fe6adb0fc2095131a09df1bb5a82dd3c2a3 (diff)
downloadcolorize-6323c270d4c14a27d0b7d035698e2b16ac840ac9.tar.gz
colorize-6323c270d4c14a27d0b7d035698e2b16ac840ac9.tar.bz2
Const DESC_TYPE
-rw-r--r--colorize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/colorize.c b/colorize.c
index f80bdce..854581b 100644
--- a/colorize.c
+++ b/colorize.c
@@ -526,7 +526,7 @@ process_opt_attr (const char *p, const bool is_opt)
};
unsigned int attr_types = 0;
const char *desc_type[2] = { "--attr switch", "attr conf option" };
- unsigned int DESC_TYPE = is_opt ? DESC_OPTION : DESC_CONF;
+ const unsigned int DESC_TYPE = is_opt ? DESC_OPTION : DESC_CONF;
while (*p)
{