[geany/geany] d9f3f3: Fix -Wsign-compare warning

Jiří Techet git-noreply at geany.org
Sun Apr 10 12:34:15 UTC 2022


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sun, 10 Apr 2022 12:34:15 UTC
Commit:      d9f3f3b85f0c6ce790ce3cfd88b6bff01b6b6b7e
             https://github.com/geany/geany/commit/d9f3f3b85f0c6ce790ce3cfd88b6bff01b6b6b7e

Log Message:
-----------
Fix -Wsign-compare warning


Modified Paths:
--------------
    src/tagmanager/tm_ctags.c

Modified: src/tagmanager/tm_ctags.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -69,7 +69,7 @@ static void enable_kinds_and_roles()
 {
 	TMParserType lang;
 
-	for (lang = 0; lang < countParsers(); lang++)
+	for (lang = 0; lang < (gint)countParsers(); lang++)
 	{
 		guint kind_num = countLanguageKinds(lang);
 		guint kind;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list