aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 11:03:28 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 11:03:28 +0800
commit2ba6ef0e2b7d01f3e110bdc69950712b8a3e598b (patch)
treea6a79772dfde1d315657e5661ca1c8f5daa6df9f
parent13d4452306f71fb8f5f2e2bafbfc6b6693e0b37c (diff)
downloadgsoc2013-evolution-2ba6ef0e2b7d01f3e110bdc69950712b8a3e598b.tar.gz
gsoc2013-evolution-2ba6ef0e2b7d01f3e110bdc69950712b8a3e598b.tar.zst
gsoc2013-evolution-2ba6ef0e2b7d01f3e110bdc69950712b8a3e598b.zip
Fix compilation warning in plugins/itip-formatter directory. (#440272)
svn path=/trunk/; revision=33629
-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);