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