summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2011-09-25 13:24:50 -0700
committerKai Blin <kai@samba.org>2011-09-28 02:02:35 +0200
commitda0cae010a4a4050bb1d740a3df68776cc3c7b0e (patch)
treee969a391f15291af4462ffcb02f81ed3f1e31278 /source3
parentdf88e66250375fec2d0991bf379f4fe6f2550a7c (diff)
downloadsamba-da0cae010a4a4050bb1d740a3df68776cc3c7b0e.tar.gz
samba-da0cae010a4a4050bb1d740a3df68776cc3c7b0e.tar.bz2
samba-da0cae010a4a4050bb1d740a3df68776cc3c7b0e.zip
s3 net: Fix a discard const warning
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_dns.c2
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;
}