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

git pushed a commit to branch master
in repository enlightenment-module-forecasts.

View the commit online.

commit 998716446e77f8e5ba1ea2d2366ba24735de772c
Author: Alastair Poole <nets...@gmail.com>
AuthorDate: Thu Apr 24 15:16:04 2025 +0100

    wind_chill: cast to integer.
---
 src/e_mod_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/e_mod_main.c b/src/e_mod_main.c
index e01d5b8..d093b65 100644
--- a/src/e_mod_main.c
+++ b/src/e_mod_main.c
@@ -711,7 +711,7 @@ _forecasts_parse(void *data)
                   double t, vpow;
                   t = inst->condition.temp;
                   vpow = pow(inst->details.wind.speed, 0.16);
-                  inst->details.wind.chill = (13.12 + (0.6215 * t)) - (11.37 * (vpow)) + ((0.3965 * t) * (vpow));
+                  inst->details.wind.chill = (int)(13.12 + (0.6215 * t)) - (11.37 * (vpow)) + ((0.3965 * t) * (vpow));
                   inst->details.wind.can_chill = 1;
                }
 

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

Reply via email to