aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/alarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/alarm.c')
-rw-r--r--calendar/gui/alarm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/alarm.c b/calendar/gui/alarm.c
index 6573a1be3d..280d4125e3 100644
--- a/calendar/gui/alarm.c
+++ b/calendar/gui/alarm.c
@@ -61,10 +61,10 @@ alarm_ready (void *closure, int fd, GdkInputCondition cond)
}
static int
-alarm_compare_by_time (gpointer a, gpointer b)
+alarm_compare_by_time (gconstpointer a, gconstpointer b)
{
- AlarmRecord *ara = a;
- AlarmRecord *arb = b;
+ const AlarmRecord *ara = a;
+ const AlarmRecord *arb = b;
time_t diff;
diff = ara->activation_time - arb->activation_time;