summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/snprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/snprintf.c b/source4/lib/snprintf.c
index dbfb046c3d..adfd3c4d78 100644
--- a/source4/lib/snprintf.c
+++ b/source4/lib/snprintf.c
@@ -221,7 +221,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args
}
break;
case DP_S_MIN:
- if (isdigit((uint8_t)ch)) {
+ if (isdigit((unsigned char)ch)) {
min = 10*min + char_to_int (ch);
ch = *format++;
} else if (ch == '*') {
@@ -241,7 +241,7 @@ static size_t dopr(char *buffer, size_t maxlen, const char *format, va_list args
}
break;
case DP_S_MAX:
- if (isdigit((uint8_t)ch)) {
+ if (isdigit((unsigned char)ch)) {
if (max < 0)
max = 0;
max = 10*max + char_to_int (ch);