From c6838ffaa1dd5ff9d2b44f7eaffcd8ecf9886f2a Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 17 Sep 2014 15:07:25 +0100 Subject: [PATCH] gtask: Fix a signed/unsigned integer comparison The GSource times assigned to creation_time are always signed. https://bugzilla.gnome.org/show_bug.cgi?id=736806 --- gio/gtask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gtask.c b/gio/gtask.c index ad6e50f..ffa4dae 100644 --- a/gio/gtask.c +++ b/gio/gtask.c @@ -540,7 +540,7 @@ struct _GTask { GDestroyNotify task_data_destroy; GMainContext *context; - guint64 creation_time; + gint64 creation_time; gint priority; GCancellable *cancellable; gboolean check_cancellable; -- 2.7.4