aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/calendar.c')
-rw-r--r--calendar/calendar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c
index c53d2f1566..a76d95758f 100644
--- a/calendar/calendar.c
+++ b/calendar/calendar.c
@@ -339,10 +339,10 @@ calendar_save (Calendar *cal, char *fname)
}
static gint
-calendar_object_compare_by_start (gpointer a, gpointer b)
+calendar_object_compare_by_start (gconstpointer a, gconstpointer b)
{
- CalendarObject *ca = a;
- CalendarObject *cb = b;
+ const CalendarObject *ca = a;
+ const CalendarObject *cb = b;
time_t diff;
diff = ca->ev_start - cb->ev_start;