From 2381ec5c7c20564dc7a8b809ac8e6a91bbfce31e Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Sat, 28 Mar 2026 18:24:05 -0300 Subject: [PATCH] app: Convert history_duration to gdouble for unambiguous division --- app/widgets/gimpdashboard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/widgets/gimpdashboard.c b/app/widgets/gimpdashboard.c index 2837a2c3fd..12ce2a65f3 100644 --- a/app/widgets/gimpdashboard.c +++ b/app/widgets/gimpdashboard.c @@ -1229,7 +1229,7 @@ gimp_dashboard_init (GimpDashboard *dashboard) gimp_meter_set_history_resolution (GIMP_METER (meter), interval / 1000.0); gimp_meter_set_history_duration (GIMP_METER (meter), - priv->history_duration / 1000.0); + (gdouble) priv->history_duration / 1000.0); gtk_box_pack_start (GTK_BOX (vbox2), meter, FALSE, FALSE, 0); gtk_widget_show (meter); @@ -4970,7 +4970,7 @@ gimp_dashboard_set_history_duration (GimpDashboard *dashboard, if (group_data->meter) { gimp_meter_set_history_duration (group_data->meter, - history_duration / 1000.0); + (gdouble) history_duration / 1000.0); } }