summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-04-12 18:48:18 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2007-04-12 18:48:18 +0000
commit6e42f0eaa8f2ee001ddfc8a1b8498ad1abdc20dd (patch)
tree99986fc166da92d03e82ec4b0856cff1a0878402 /network
parent4d8f5eb37c895d875a7fdcce45f03c406adfa668 (diff)
Fix warning on build.
Diffstat (limited to 'network')
-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)