aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/itip-formatter/ChangeLog5
-rw-r--r--plugins/itip-formatter/itip-formatter.c2
2 files changed, 6 insertions, 1 deletions
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 <mbarnes@redhat.com>
+
+ * itip-formatter.c: Fix a compilation warning. (#437584)
+ Patch from Gilles Dartiguelongue.
+
2007-05-11 Gilles Dartiguelongue <dartigug@esiee.fr>
* 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);