summaryrefslogtreecommitdiff
path: root/test/test-shell-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-shell-service.c')
-rw-r--r--test/test-shell-service.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test-shell-service.c b/test/test-shell-service.c
index 79a4949a..71b4baae 100644
--- a/test/test-shell-service.c
+++ b/test/test-shell-service.c
@@ -36,12 +36,11 @@ handle_echo (DBusConnection *connection,
DBusMessage *reply;
DBusMessageIter iter;
int i;
- char *s;
EchoData *d;
_dbus_verbose ("sending reply to Echo method\n");
- if (!dbus_connection_get_object_path_data (connection, echo_path, &d))
+ if (!dbus_connection_get_object_path_data (connection, echo_path, (void **)&d))
die ("No memory");