diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-09-25 09:51:00 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-09-25 09:52:50 +0100 |
commit | eaca86801e1ae149559ec1575cac4ef4813a255e (patch) | |
tree | 2128ffa3c48bbdf38bdede463afd9ff7a6a4b658 | |
parent | 42d0dc363e3597d36136051d53e25c09ebff253f (diff) | |
download | glib-eaca86801e1ae149559ec1575cac4ef4813a255e.tar.gz |
gmain: Fix some signed/unsigned integer comparisons
Just to shut gcc up.
https://bugzilla.gnome.org/show_bug.cgi?id=737338
-rw-r--r-- | glib/gmain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/gmain.c b/glib/gmain.c index 30fac701f..71c816b38 100644 --- a/glib/gmain.c +++ b/glib/gmain.c @@ -514,7 +514,7 @@ g_main_context_unref (GMainContext *context) GSource *source; GList *sl_iter; GSourceList *list; - gint i; + guint i; g_return_if_fail (context != NULL); g_return_if_fail (g_atomic_int_get (&context->ref_count) > 0); @@ -3327,7 +3327,7 @@ gboolean g_main_context_prepare (GMainContext *context, gint *priority) { - gint i; + guint i; gint n_ready = 0; gint current_priority = G_MAXINT; GSource *source; |