summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-12 22:33:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:48 -0500
commit449590367c209c69dbfc2d1cb030fcd0833f99c9 (patch)
tree665182a44caffbdaa433cc2ad870d712971fb37a
parentc710c0671fad507b07cbc2094244fe6f2f909955 (diff)
downloadsamba-449590367c209c69dbfc2d1cb030fcd0833f99c9.tar.gz
samba-449590367c209c69dbfc2d1cb030fcd0833f99c9.tar.bz2
samba-449590367c209c69dbfc2d1cb030fcd0833f99c9.zip
r4719: snprintf.c is used outside of samba, so don't use our special types
(This used to be commit 8033ef6b710df3b5bb2a249db97986b7d4c2e018)
-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);