[gnome-builder] ctags: fix iteration integer size
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] ctags: fix iteration integer size
- Date: Sun, 28 Jan 2018 22:42:11 +0000 (UTC)
commit 34e57a6f9b3f954b260b21c297cc419501fc37dc
Author: Christian Hergert <chergert redhat com>
Date: Sun Jan 28 14:11:54 2018 -0800
ctags: fix iteration integer size
This should match the thing we are comparing to.
src/plugins/ctags/ide-ctags-service.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/ctags/ide-ctags-service.c b/src/plugins/ctags/ide-ctags-service.c
index c4abd317e..17d81322a 100644
--- a/src/plugins/ctags/ide-ctags-service.c
+++ b/src/plugins/ctags/ide-ctags-service.c
@@ -190,7 +190,6 @@ ide_ctags_service_tags_loaded_cb (GObject *object,
g_autoptr(IdeCtagsService) self = user_data;
g_autoptr(IdeCtagsIndex) index = NULL;
GError *error = NULL;
- gsize i;
IDE_ENTRY;
@@ -210,13 +209,13 @@ ide_ctags_service_tags_loaded_cb (GObject *object,
g_assert (IDE_IS_CTAGS_INDEX (index));
- for (i = 0; i < self->highlighters->len; i++)
+ for (guint i = 0; i < self->highlighters->len; i++)
{
IdeCtagsHighlighter *highlighter = g_ptr_array_index (self->highlighters, i);
ide_ctags_highlighter_add_index (highlighter, index);
}
- for (i = 0; i < self->completions->len; i++)
+ for (guint i = 0; i < self->completions->len; i++)
{
IdeCtagsCompletionProvider *provider = g_ptr_array_index (self->completions, i);
ide_ctags_completion_provider_add_index (provider, index);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]