projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42d0dc3
)
gmain: Fix some signed/unsigned integer comparisons
author
Philip Withnall
<philip.withnall@collabora.co.uk>
Thu, 25 Sep 2014 08:51:00 +0000
(09:51 +0100)
committer
Philip Withnall
<philip.withnall@collabora.co.uk>
Thu, 25 Sep 2014 08:52:50 +0000
(09:52 +0100)
Just to shut gcc up.
https://bugzilla.gnome.org/show_bug.cgi?id=737338
glib/gmain.c
patch
|
blob
|
history
diff --git
a/glib/gmain.c
b/glib/gmain.c
index
30fac70
..
71c816b
100644
(file)
--- 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;
+ g
u
int 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;
+ g
u
int i;
gint n_ready = 0;
gint current_priority = G_MAXINT;
GSource *source;