mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-09 02:34:05 +02:00
gmain: Fix some signed/unsigned integer comparisons
Just to shut gcc up. https://bugzilla.gnome.org/show_bug.cgi?id=737338
This commit is contained in:
@@ -514,7 +514,7 @@ g_main_context_unref (GMainContext *context)
|
|||||||
GSource *source;
|
GSource *source;
|
||||||
GList *sl_iter;
|
GList *sl_iter;
|
||||||
GSourceList *list;
|
GSourceList *list;
|
||||||
gint i;
|
guint i;
|
||||||
|
|
||||||
g_return_if_fail (context != NULL);
|
g_return_if_fail (context != NULL);
|
||||||
g_return_if_fail (g_atomic_int_get (&context->ref_count) > 0);
|
g_return_if_fail (g_atomic_int_get (&context->ref_count) > 0);
|
||||||
@@ -3327,7 +3327,7 @@ gboolean
|
|||||||
g_main_context_prepare (GMainContext *context,
|
g_main_context_prepare (GMainContext *context,
|
||||||
gint *priority)
|
gint *priority)
|
||||||
{
|
{
|
||||||
gint i;
|
guint i;
|
||||||
gint n_ready = 0;
|
gint n_ready = 0;
|
||||||
gint current_priority = G_MAXINT;
|
gint current_priority = G_MAXINT;
|
||||||
GSource *source;
|
GSource *source;
|
||||||
|
Reference in New Issue
Block a user