Commit 3b01388d authored by Kai Vehmanen's avatar Kai Vehmanen
Browse files

Fixed compiler warnings: proper use of const.

parent 717b6968
......@@ -76,7 +76,7 @@ nice_list_local_interfaces ()
iface = g_slice_new0 (NiceInterface);
iface->name = g_strdup (i->ifa_name);
nice_address_set_from_sockaddr_in (&(iface->addr), addr);
nice_address_set_from_sockaddr (&(iface->addr), (const struct sockaddr *)addr);
ret = g_slist_append (ret, iface);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment