[gnome-todo] timeline: Silence compiler warning
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] timeline: Silence compiler warning
- Date: Fri, 25 Sep 2020 20:31:44 +0000 (UTC)
commit 27ec109142596842523c79fca866d5260f2cb2d3
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri Sep 25 17:30:41 2020 -0300
timeline: Silence compiler warning
src/animation/gtd-timeline.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/animation/gtd-timeline.c b/src/animation/gtd-timeline.c
index e9aaa6b..7c2e684 100644
--- a/src/animation/gtd-timeline.c
+++ b/src/animation/gtd-timeline.c
@@ -352,7 +352,7 @@ gtd_timeline_do_frame (GtdTimeline *self)
if (priv->elapsed_time != end_msecs &&
!(/* Except allow changing time from 0 -> duration (or vice-versa)
since these are considered equivalent */
- (priv->elapsed_time == 0 && end_msecs == priv->duration) ||
+ (priv->elapsed_time == 0 && end_msecs == (gint) priv->duration) ||
(priv->elapsed_time == priv->duration && end_msecs == 0)
))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]