[gnome-builder] spellcheck: fix -Wsign-compare warning
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] spellcheck: fix -Wsign-compare warning
- Date: Tue, 28 Feb 2017 20:15:18 +0000 (UTC)
commit fe67297e33c9e5c2688ff9de9f03271a8382f31e
Author: Christian Hergert <chergert redhat com>
Date: Tue Feb 28 12:11:54 2017 -0800
spellcheck: fix -Wsign-compare warning
libide/editor/ide-editor-spell-widget.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libide/editor/ide-editor-spell-widget.c b/libide/editor/ide-editor-spell-widget.c
index 4b96c7b..9a85e19 100644
--- a/libide/editor/ide-editor-spell-widget.c
+++ b/libide/editor/ide-editor-spell-widget.c
@@ -866,9 +866,9 @@ static void
dict_fill_listbox (IdeEditorSpellWidget *self,
GPtrArray *words_array)
{
- gsize len;
const gchar *word;
GtkWidget *item;
+ guint len;
g_assert (IDE_IS_EDITOR_SPELL_WIDGET (self));
g_assert (words_array != NULL);
@@ -876,7 +876,7 @@ dict_fill_listbox (IdeEditorSpellWidget *self,
dict_clean_listbox (self);
len = words_array->len;
- for (gint i = 0; i < len; ++i)
+ for (guint i = 0; i < len; ++i)
{
word = g_ptr_array_index (words_array, i);
item = dict_create_word_row (self, word);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]