diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-04-12 18:48:18 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2007-04-12 18:48:18 +0000 |
commit | 6e42f0eaa8f2ee001ddfc8a1b8498ad1abdc20dd (patch) | |
tree | 99986fc166da92d03e82ec4b0856cff1a0878402 | |
parent | 4d8f5eb37c895d875a7fdcce45f03c406adfa668 (diff) |
Fix warning on build.
-rw-r--r-- | network/connection.c | 2 |
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) |