diff options
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/namequery.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 344806083a..8b0d68ce6a 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -72,7 +72,7 @@ static void _interpret_node_status(char *p, char *master,char *rname) } for (i = strlen( qname) ; --i >= 0 ; ) { - if (!isprint(qname[i])) qname[i] = '.'; + if (!isprint((int)qname[i])) qname[i] = '.'; } DEBUG(1,("\t%-15s <%02x> - %s\n",qname,type,flags)); p+=2; @@ -439,7 +439,7 @@ BOOL resolve_name(char *name, struct in_addr *return_ip) } for (i=0; pure_address && name[i]; i++) - if (!(isdigit(name[i]) || name[i] == '.')) + if (!(isdigit((int)name[i]) || name[i] == '.')) pure_address = False; /* if it's in the form of an IP address then get the lib to interpret it */ |