1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-31 20:22:15 +03:00

More const fixes for compiler warnings from the waf build.

This commit is contained in:
Jeremy Allison
2011-05-05 13:42:05 -07:00
parent 38492b16fe
commit e131c94ac1
27 changed files with 122 additions and 114 deletions

View File

@ -305,7 +305,7 @@ static void add_interface(const struct iface_struct *ifs)
char addr[INET6_ADDRSTRLEN];
struct interface *iface;
if (iface_find((struct sockaddr *)&ifs->ip, False)) {
if (iface_find((const struct sockaddr *)&ifs->ip, False)) {
DEBUG(3,("add_interface: not adding duplicate interface %s\n",
print_sockaddr(addr, sizeof(addr), &ifs->ip) ));
return;