aboutsummaryrefslogtreecommitdiffstats
path: root/src/systemtime.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-08 10:48:27 +0100
committerMattias Andrée <m@maandree.se>2025-03-08 10:48:27 +0100
commit46739dda053de12e4222b6ecfa6d09ca3b8fa78a (patch)
tree29187b20f0f42a556aee205d37ec4bea0ded27a3 /src/systemtime.c
parentUpdate LIST_RAMPS_STOP_VALUE_TYPES macro to reflect eariler changes in colorramp.c (diff)
downloadredshift-ng-46739dda053de12e4222b6ecfa6d09ca3b8fa78a.tar.gz
redshift-ng-46739dda053de12e4222b6ecfa6d09ca3b8fa78a.tar.bz2
redshift-ng-46739dda053de12e4222b6ecfa6d09ca3b8fa78a.tar.xz
Misc improvements
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--src/systemtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemtime.c b/src/systemtime.c
index 8ca845c..17f516b 100644
--- a/src/systemtime.c
+++ b/src/systemtime.c
@@ -42,7 +42,7 @@ systemtime_get_time(void)
struct timeval now;
if (gettimeofday(&now, NULL))
eprintf("gettimeofday:");
- return = now.tv_sec + (now.tv_usec / 1000000.0);
+ return now.tv_sec + (now.tv_usec / 1000000.0);
#endif
}