summaryrefslogtreecommitdiff
path: root/applets/clock
diff options
context:
space:
mode:
Diffstat (limited to 'applets/clock')
-rw-r--r--applets/clock/clock-sunpos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/clock/clock-sunpos.c b/applets/clock/clock-sunpos.c
index 7b3ee86a..4cca172f 100644
--- a/applets/clock/clock-sunpos.c
+++ b/applets/clock/clock-sunpos.c
@@ -52,7 +52,7 @@
/* Calculate number of days since 4713BC.
*/
static gdouble
-unix_time_to_julian_date (gint unix_time)
+unix_time_to_julian_date (gint64 unix_time)
{
return UNIX_EPOCH + (double) unix_time / (60 * 60 * 24);
}