[gegl] gegl-parallel: fix thread-time comparison
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl-parallel: fix thread-time comparison
- Date: Sun, 21 Jul 2019 14:10:35 +0000 (UTC)
commit ff25ff2a1ab9a1bd708c878ebb5a63954dfcee67
Author: Ell <ell_se yahoo com>
Date: Sun Jul 21 17:05:47 2019 +0300
gegl-parallel: fix thread-time comparison
s/gdouble/gint64/ in the thread-time comparison function.
Incidentally, it shouldn't actually affect the result.
gegl/gegl-parallel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/gegl-parallel.c b/gegl/gegl-parallel.c
index 6b191e8a3..9012c1c6c 100644
--- a/gegl/gegl-parallel.c
+++ b/gegl/gegl-parallel.c
@@ -499,8 +499,8 @@ static gint
gegl_parallel_distribute_update_thread_time_compare (gconstpointer x,
gconstpointer y)
{
- return (*(const gdouble *) x > *(const gdouble *) y) -
- (*(const gdouble *) x < *(const gdouble *) y);
+ return (*(const gint64 *) x > *(const gint64 *) y) -
+ (*(const gint64 *) x < *(const gint64 *) y);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]