aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/cal-util/calobj.c2
-rw-r--r--calendar/calobj.c2
-rw-r--r--calendar/pcs/calobj.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/calendar/cal-util/calobj.c b/calendar/cal-util/calobj.c
index db27f8abd3..5173bc1e80 100644
--- a/calendar/cal-util/calobj.c
+++ b/calendar/cal-util/calobj.c
@@ -449,7 +449,7 @@ setup_alarm_at (iCalObject *ico, CalendarAlarm *alarm, char *iso_time, VObject *
alarm->count = d / HOURS (24);
alarm->units = ALARM_DAYS;
} else {
- alarm->count = d / 60*60;
+ alarm->count = d / (60*60);
alarm->units = ALARM_HOURS;
}
} else {
diff --git a/calendar/calobj.c b/calendar/calobj.c
index db27f8abd3..5173bc1e80 100644
--- a/calendar/calobj.c
+++ b/calendar/calobj.c
@@ -449,7 +449,7 @@ setup_alarm_at (iCalObject *ico, CalendarAlarm *alarm, char *iso_time, VObject *
alarm->count = d / HOURS (24);
alarm->units = ALARM_DAYS;
} else {
- alarm->count = d / 60*60;
+ alarm->count = d / (60*60);
alarm->units = ALARM_HOURS;
}
} else {
diff --git a/calendar/pcs/calobj.c b/calendar/pcs/calobj.c
index db27f8abd3..5173bc1e80 100644
--- a/calendar/pcs/calobj.c
+++ b/calendar/pcs/calobj.c
@@ -449,7 +449,7 @@ setup_alarm_at (iCalObject *ico, CalendarAlarm *alarm, char *iso_time, VObject *
alarm->count = d / HOURS (24);
alarm->units = ALARM_DAYS;
} else {
- alarm->count = d / 60*60;
+ alarm->count = d / (60*60);
alarm->units = ALARM_HOURS;
}
} else {