From 2ba6ef0e2b7d01f3e110bdc69950712b8a3e598b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 3 Jun 2007 03:03:28 +0000 Subject: Fix compilation warning in plugins/itip-formatter directory. (#440272) svn path=/trunk/; revision=33629 --- plugins/itip-formatter/ChangeLog | 5 +++++ plugins/itip-formatter/itip-formatter.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog index d1777aee67..a5bbf025f5 100644 --- a/plugins/itip-formatter/ChangeLog +++ b/plugins/itip-formatter/ChangeLog @@ -1,3 +1,8 @@ +2007-06-02 Matthew Barnes + + * itip-formatter.c: Fix a compilation warning. (#437584) + Patch from Gilles Dartiguelongue. + 2007-05-11 Gilles Dartiguelongue * itip-view.c: (set_one_button): Fixes casts, diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index 7df6a6296a..20fa174f60 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -1219,7 +1219,7 @@ extract_itip_data (FormatItipPObject *pitip, GtkContainer *container) mem = camel_stream_mem_new (); camel_data_wrapper_decode_to_stream (content, mem); - pitip->vcalendar = g_strndup (((CamelStreamMem *) mem)->buffer->data, ((CamelStreamMem *) mem)->buffer->len); + pitip->vcalendar = g_strndup ((char *)((CamelStreamMem *) mem)->buffer->data, ((CamelStreamMem *) mem)->buffer->len); camel_object_unref (mem); -- cgit v1.2.3