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:
@ -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;
|
||||
|
Reference in New Issue
Block a user