summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2010-12-20 16:27:12 +0530
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2010-12-20 16:27:12 +0530
commit251a7c4bf1817a98140ab1ca80a0c636945d65bb (patch)
treec0ef872f76e8158d40ab9511e1967de3eb6ab06b
parent0e0eb4cce8064288c9e28ddfc7f59a8b13ac305c (diff)
downloadgupnp-igd-251a7c4bf1817a98140ab1ca80a0c636945d65bb.tar.gz
simpleigdthread: Add typecast to make newer GCC happy
Report by Peter Robinson http://bugzilla.openedhand.com/show_bug.cgi?id=2209
-rw-r--r--libgupnp-igd/gupnp-simple-igd-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgupnp-igd/gupnp-simple-igd-thread.c b/libgupnp-igd/gupnp-simple-igd-thread.c
index bd4476e..905880d 100644
--- a/libgupnp-igd/gupnp-simple-igd-thread.c
+++ b/libgupnp-igd/gupnp-simple-igd-thread.c
@@ -214,7 +214,7 @@ gupnp_simple_igd_thread_dispose (GObject *object)
{
GSource *src = g_idle_source_new ();
- g_source_set_callback (src, stop_loop, self, NULL);
+ g_source_set_callback (src, (GSourceFunc) stop_loop, self, NULL);
g_source_attach (src, self->priv->context);
g_source_unref (src);