diff options
author | Jeremy Allison <jra@samba.org> | 2002-01-11 17:29:20 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-01-11 17:29:20 +0000 |
commit | f662e307d9e4e408268d5f33c0903545c3c1e718 (patch) | |
tree | df1d7c3e9820f1b3d99e28e4633403a7d824ba66 /source/lib/util.c | |
parent | 6a518322839accd066fdc1bbf1678ae3821815a8 (diff) | |
download | samba-f662e307d9e4e408268d5f33c0903545c3c1e718.tar.gz samba-f662e307d9e4e408268d5f33c0903545c3c1e718.tar.xz samba-f662e307d9e4e408268d5f33c0903545c3c1e718.zip |
Fixup compiler warnings.
Jeremy.
Diffstat (limited to 'source/lib/util.c')
-rw-r--r-- | source/lib/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/util.c b/source/lib/util.c index 74f9868a159..d074d4d159d 100644 --- a/source/lib/util.c +++ b/source/lib/util.c @@ -755,7 +755,7 @@ BOOL is_ipaddress(const char *str) interpret an internet address or name into an IP address in 4 byte form ****************************************************************************/ -uint32 interpret_addr(char *str) +uint32 interpret_addr(const char *str) { struct hostent *hp; uint32 res; @@ -788,7 +788,7 @@ uint32 interpret_addr(char *str) /******************************************************************* a convenient addition to interpret_addr() ******************************************************************/ -struct in_addr *interpret_addr2(char *str) +struct in_addr *interpret_addr2(const char *str) { static struct in_addr ret; uint32 a = interpret_addr(str); |