[glib] gtask: Fix a signed/unsigned integer comparison
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gtask: Fix a signed/unsigned integer comparison
- Date: Tue, 23 Sep 2014 07:09:06 +0000 (UTC)
commit c6838ffaa1dd5ff9d2b44f7eaffcd8ecf9886f2a
Author: Philip Withnall <philip withnall collabora co uk>
Date: Wed Sep 17 15:07:25 2014 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]