aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/alarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/alarm.c')
-rw-r--r--calendar/alarm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/alarm.c b/calendar/alarm.c
index 6573a1be3d..280d4125e3 100644
--- a/calendar/alarm.c
+++ b/calendar/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;