From 449590367c209c69dbfc2d1cb030fcd0833f99c9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 12 Jan 2005 22:33:28 +0000 Subject: r4719: snprintf.c is used outside of samba, so don't use our special types (This used to be commit 8033ef6b710df3b5bb2a249db97986b7d4c2e018) --- source4/lib/snprintf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') 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); -- cgit