Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Jiří Techet techet@gmail.com Date: Fri, 06 May 2016 14:48:04 UTC Commit: fdc4510864f715248a9e83b65cc89df514714166 https://github.com/geany/geany/commit/fdc4510864f715248a9e83b65cc89df5147141...
Log Message: ----------- Don't use char array subscript as it may be signed
Modified Paths: -------------- tagmanager/src/tm_parser.c
Modified: tagmanager/src/tm_parser.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -634,7 +634,7 @@ void tm_parser_verify_type_mappings(void) g_warning("Tag type '%c' found in ctags but not in TM for %s", kinds[i], tm_ctags_get_lang_name(lang));
- presence_map[map->entries[i].kind]++; + presence_map[(unsigned char) map->entries[i].kind]++; }
for (i = 0; i < sizeof(presence_map); i++)
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).