summaryrefslogtreecommitdiff
path: root/dbus/dbus-gproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-gproxy.c')
-rw-r--r--dbus/dbus-gproxy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/dbus-gproxy.c b/dbus/dbus-gproxy.c
index c3ae9ec..52c8db9 100644
--- a/dbus/dbus-gproxy.c
+++ b/dbus/dbus-gproxy.c
@@ -1711,7 +1711,7 @@ marshal_dbus_message_to_g_marshaller (GClosure *closure,
priv = DBUS_G_PROXY_GET_PRIVATE(proxy);
c_marshaller = _dbus_gobject_lookup_marshaller (G_TYPE_NONE, gsignature->len,
- (GType*) gsignature->data);
+ (GType*)(void *) gsignature->data);
g_return_if_fail (c_marshaller != NULL);
@@ -1721,7 +1721,7 @@ marshal_dbus_message_to_g_marshaller (GClosure *closure,
context.gconnection = DBUS_G_CONNECTION_FROM_CONNECTION (priv->manager->connection);
context.proxy = proxy;
- types = (const GType*) gsignature->data;
+ types = (const GType*)(void *) gsignature->data;
value_array = _dbus_gvalue_demarshal_message (&context, message,
gsignature->len, types, NULL);
}
@@ -3046,7 +3046,7 @@ dbus_g_proxy_add_signal (DBusGProxy *proxy,
va_end (args);
#ifndef G_DISABLE_CHECKS
- if (_dbus_gobject_lookup_marshaller (G_TYPE_NONE, gtypesig->len, (const GType*) gtypesig->data) == NULL)
+ if (_dbus_gobject_lookup_marshaller (G_TYPE_NONE, gtypesig->len, (const GType*)(void *) gtypesig->data) == NULL)
g_warning ("No marshaller for signature of signal '%s'", signal_name);
#endif