This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository e16.

View the commit online.

commit af06c31082b1682c1747b5eff13f0a9d90e78d64
Author: Kim Woelders <[email protected]>
AuthorDate: Sat Jan 10 07:17:18 2026 +0100

    Compile cleanly with -Wdouble-promotion
---
 src/iconify.c | 6 +++---
 src/ipc.c     | 2 +-
 src/magwin.c  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/iconify.c b/src/iconify.c
index df76d23c..3d896475 100644
--- a/src/iconify.c
+++ b/src/iconify.c
@@ -56,10 +56,10 @@ IB_Animate_Sleep(unsigned int t0, float a)
     float           dt;
 
     t = GetTimeMs() - t0;
-    dt = 1e-3 * (t - a * IB_ANIM_TIME);
-    dt = 1e-3 * IB_ANIM_STEP - dt;
+    dt = 1e-3f * (t - a * IB_ANIM_TIME);
+    dt = 1e-3f * IB_ANIM_STEP - dt;
     if (dt > 0)
-        SleepUs((unsigned long)(1e6 * dt));
+        SleepUs((unsigned long)(1e6f * dt));
 }
 
 static void
diff --git a/src/ipc.c b/src/ipc.c
index 5650c46c..845ce9fe 100644
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -1286,7 +1286,7 @@ EwinShowInfo(const EWin *ewin)
               ewin->icccm.width_min, ewin->icccm.height_min,
               ewin->icccm.width_max, ewin->icccm.height_max,
               ewin->icccm.w_inc, ewin->icccm.h_inc,
-              ewin->icccm.aspect_min, ewin->icccm.aspect_max,
+              (double)ewin->icccm.aspect_min, (double)ewin->icccm.aspect_max,
               ewin->strut.left, ewin->strut.right,
               ewin->strut.top, ewin->strut.bottom,
               ewin->mwm.decor_border, ewin->mwm.decor_resizeh,
diff --git a/src/magwin.c b/src/magwin.c
index 9c53b47a..3ede3b3b 100644
--- a/src/magwin.c
+++ b/src/magwin.c
@@ -171,7 +171,7 @@ MagwinRedraw(MagWindow *mw, int paint)
 
     /* Show magnified area coordinates */
     len = Esnprintf(buf, sizeof(buf), "x%.2f: %d,%d %dx%d",
-                    scale, sx, sy, sw, sh);
+                    (double)scale, sx, sy, sw, sh);
 
     if (out)
         goto done;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to