From a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 3 Jun 2007 02:10:05 +0000 Subject: Fix compiler warnings in the calendar directory (#439122). svn path=/trunk/; revision=33625 --- calendar/gui/e-tasks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/gui/e-tasks.c') diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index 1c77ae09fa..9e00738834 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -457,7 +457,7 @@ table_drag_data_get (ETable *table, comp_str = icalcomponent_as_ical_string (vcal); if (comp_str) { gtk_selection_data_set (selection_data, selection_data->target, - 8, comp_str, strlen (comp_str)); + 8, (unsigned char *)comp_str, strlen (comp_str)); } icalcomponent_free (vcal); } @@ -1457,7 +1457,7 @@ e_tasks_open_task_id (ETasks *tasks, return; attendee_prop = icalcomponent_get_first_property (icalcomp, ICAL_ATTENDEE_PROPERTY); - e_calendar_table_open_task (E_CALENDAR_TABLE (tasks->priv->tasks_view), client, icalcomp, attendee_prop); + e_calendar_table_open_task (E_CALENDAR_TABLE (tasks->priv->tasks_view), client, icalcomp, (gboolean)attendee_prop); icalcomponent_free (icalcomp); return; -- cgit