diff options
Diffstat (limited to 'source4/utils')
-rw-r--r-- | source4/utils/nmblookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/nmblookup.c b/source4/utils/nmblookup.c index 900d55d6df..c8490d08e6 100644 --- a/source4/utils/nmblookup.c +++ b/source4/utils/nmblookup.c @@ -49,7 +49,7 @@ static const char *clean_name(TALLOC_CTX *mem_ctx, const char *name) char *ret = talloc_strdup(mem_ctx, name); int i; for (i=0;ret[i];i++) { - if (!isprint(ret[i])) ret[i] = '.'; + if (!isprint((unsigned char)ret[i])) ret[i] = '.'; } return ret; } |