diff options
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r-- | source3/lib/util_str.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index 2205f5cf0d..14d50384c2 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -198,9 +198,9 @@ int strwicmp(const char *psz1, const char *psz2) /* sync the strings on first non-whitespace */ while (1) { - while (isspace(*psz1)) + while (isspace((int)*psz1)) psz1++; - while (isspace(*psz2)) + while (isspace((int)*psz2)) psz2++; if (toupper(*psz1) != toupper(*psz2) || *psz1 == '\0' || *psz2 == '\0') |