[gnome-flashback] monitor-manager-xrandr: fix implicit conversion warning



commit 73419629850ecbe1f5a095c926698924034fcbef
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed Jan 24 16:39:27 2018 +0200

    monitor-manager-xrandr: fix implicit conversion warning

 backends/gf-monitor-manager-xrandr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/gf-monitor-manager-xrandr.c b/backends/gf-monitor-manager-xrandr.c
index ad2abb7..2d8c0f7 100644
--- a/backends/gf-monitor-manager-xrandr.c
+++ b/backends/gf-monitor-manager-xrandr.c
@@ -1287,7 +1287,7 @@ apply_crtc_assignments (GfMonitorManager  *manager,
             {
               g_warning ("Configuring CRTC %d with mode %d (%d x %d @ %f) at position %d, %d and transform 
%u failed\n",
                          (guint) (crtc->crtc_id), (guint) (mode->mode_id),
-                         mode->width, mode->height, (gfloat) mode->refresh_rate,
+                         mode->width, mode->height, (gdouble) mode->refresh_rate,
                          crtc_info->x, crtc_info->y, crtc_info->transform);
 
               g_free (output_ids);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]