gtask: Fix a signed/unsigned integer comparison
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 17 Sep 2014 14:07:25 +0000 (15:07 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 23 Sep 2014 07:08:25 +0000 (08:08 +0100)
The GSource times assigned to creation_time are always signed.

https://bugzilla.gnome.org/show_bug.cgi?id=736806

gio/gtask.c

index ad6e50f..ffa4dae 100644 (file)
@@ -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;