[Telepathy-commits] [telepathy-glib/master] TpHandleSet: remove an unnecessary cast

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Oct 15 03:47:18 PDT 2008


---
 telepathy-glib/handle-set.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/telepathy-glib/handle-set.c b/telepathy-glib/handle-set.c
index b10db1b..19f85d8 100644
--- a/telepathy-glib/handle-set.c
+++ b/telepathy-glib/handle-set.c
@@ -165,7 +165,7 @@ typedef struct __foreach_data
 static void
 foreach_helper (guint i, gpointer userdata)
 {
-  _foreach_data *data = (_foreach_data*) userdata;
+  _foreach_data *data = userdata;
 
   data->func (data->set, i, data->userdata);
 }
-- 
1.5.6.5




More information about the Telepathy-commits mailing list