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

Fixed compiler warnings: proper use of const.

darcs-hash:20070521153502-77cd4-9ba19c606f32af8de37099cbb6935e7a5073d440.gz
parent 717b6968
...@@ -76,7 +76,7 @@ nice_list_local_interfaces () ...@@ -76,7 +76,7 @@ nice_list_local_interfaces ()
iface = g_slice_new0 (NiceInterface); iface = g_slice_new0 (NiceInterface);
iface->name = g_strdup (i->ifa_name); 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); 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