summaryrefslogtreecommitdiffstats
path: root/network/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'network/connection.c')
-rw-r--r--network/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/connection.c b/network/connection.c
index 278fa1cc..59aa3762 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -622,7 +622,7 @@ connection_find_data(DBusConnection *conn, const char *path,
struct network_conn *nc;
char addr[18];
- if (!dbus_connection_get_object_path_data(conn, path, &nc))
+ if (!dbus_connection_get_object_path_data(conn, path, (void *)&nc))
return -1;
if (strcmp(pattern, nc->dev) == 0)