aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-todo.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gncal-todo.c')
-rw-r--r--calendar/gui/gncal-todo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c
index d715c266eb..eae0e556ca 100644
--- a/calendar/gui/gncal-todo.c
+++ b/calendar/gui/gncal-todo.c
@@ -143,7 +143,7 @@ get_clist_selected_ico (GtkCList *clist)
if (!clist->selection)
return NULL;
- sel = (gint) clist->selection->data;
+ sel = GPOINTER_TO_INT(clist->selection->data);
return gtk_clist_get_row_data (clist, sel);
}