From f0b7fc1ecb80cb34a45e60d07e9c53745b251686 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 5 Mar 2025 20:02:05 +0100 Subject: Just use double, no mixing in float MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/common.h') diff --git a/src/common.h b/src/common.h index e63e15b..3eaf697 100644 --- a/src/common.h +++ b/src/common.h @@ -82,13 +82,13 @@ enum program_mode { }; struct location { - float lat, lon; + double lat, lon; }; struct color_setting { int temperature; - float gamma[3]; - float brightness; + double gamma[3]; + double brightness; }; /* Time range. -- cgit v1.2.3-70-g09d2