[empathy] properly cast GArray content



commit 28e12b663411f992d373bc3a96167b0146760889
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Mar 30 13:43:25 2010 +0200

    properly cast GArray content

 libempathy/empathy-tp-call.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c
index 30ba27d..32a0925 100644
--- a/libempathy/empathy-tp-call.c
+++ b/libempathy/empathy-tp-call.c
@@ -837,7 +837,7 @@ empathy_tp_call_leave (EmpathyTpCall *self)
 {
   EmpathyTpCallPriv *priv = GET_PRIV (self);
   TpHandle self_handle;
-  GArray array = { &self_handle, 1 };
+  GArray array = { (gchar *) &self_handle, 1 };
 
   if (!tp_proxy_has_interface_by_id (priv->channel,
         TP_IFACE_QUARK_CHANNEL_INTERFACE_GROUP))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]