aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-full-day.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gncal-full-day.c')
-rw-r--r--calendar/gui/gncal-full-day.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/gncal-full-day.c b/calendar/gui/gncal-full-day.c
index ea4fc575da..64e5ec6ef4 100644
--- a/calendar/gui/gncal-full-day.c
+++ b/calendar/gui/gncal-full-day.c
@@ -2115,10 +2115,10 @@ gncal_full_day_foreach (GtkContainer *container, GtkCallback callback, gpointer
}
static gint
-child_compare_by_start (gpointer a, gpointer b)
+child_compare_by_start (gconstpointer a, gconstpointer b)
{
- Child *ca = a;
- Child *cb = b;
+ const Child *ca = a;
+ const Child *cb = b;
time_t diff;
diff = ca->start - cb->start;