diff options
author | Kai Blin <kai@samba.org> | 2011-09-25 13:24:50 -0700 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2011-09-28 02:02:35 +0200 |
commit | da0cae010a4a4050bb1d740a3df68776cc3c7b0e (patch) | |
tree | e969a391f15291af4462ffcb02f81ed3f1e31278 | |
parent | df88e66250375fec2d0991bf379f4fe6f2550a7c (diff) | |
download | samba-da0cae010a4a4050bb1d740a3df68776cc3c7b0e.tar.gz samba-da0cae010a4a4050bb1d740a3df68776cc3c7b0e.tar.bz2 samba-da0cae010a4a4050bb1d740a3df68776cc3c7b0e.zip |
s3 net: Fix a discard const warning
-rw-r--r-- | source3/utils/net_dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_dns.c b/source3/utils/net_dns.c index f146f29bcd..559c14def4 100644 --- a/source3/utils/net_dns.c +++ b/source3/utils/net_dns.c @@ -166,7 +166,7 @@ int get_my_ip_address( struct sockaddr_storage **pp_ss ) continue; /* Don't register loopback addresses */ - if (is_loopback_addr((struct sockaddr *)nic_sa_storage)) { + if (is_loopback_addr((const struct sockaddr *)nic_sa_storage)) { continue; } |