[gnome-builder] makecache: fix -Wsign-compare warning
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] makecache: fix -Wsign-compare warning
- Date: Tue, 28 Feb 2017 20:34:32 +0000 (UTC)
commit 3cd8bd09acd8c7987c9da930e08135924ffe041b
Author: Christian Hergert <chergert redhat com>
Date: Tue Feb 28 12:26:56 2017 -0800
makecache: fix -Wsign-compare warning
plugins/autotools/ide-makecache.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/autotools/ide-makecache.c b/plugins/autotools/ide-makecache.c
index fec6782..aecd7df 100644
--- a/plugins/autotools/ide-makecache.c
+++ b/plugins/autotools/ide-makecache.c
@@ -408,7 +408,6 @@ ide_makecache_parse_c_cxx (IdeMakecache *self,
g_auto(GStrv) argv = NULL;
gboolean in_expand = FALSE;
GError *error = NULL;
- gsize i;
g_assert (line != NULL);
g_assert (ret != NULL);
@@ -424,7 +423,7 @@ ide_makecache_parse_c_cxx (IdeMakecache *self,
return;
}
- for (i = 0; i < argc; i++)
+ for (gint i = 0; i < argc; i++)
{
const gchar *flag = argv [i];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]