diff --git a/lib/libc/stdio/snprintf.c b/lib/libc/stdio/snprintf.c index b3944e3be85b..aa70bb2d59e6 100644 --- a/lib/libc/stdio/snprintf.c +++ b/lib/libc/stdio/snprintf.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)snprintf.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id: snprintf.c,v 1.8 1997/12/24 20:24:05 ache Exp $"; + "$Id: snprintf.c,v 1.9 1997/12/24 23:02:40 ache Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -65,7 +65,7 @@ snprintf(str, n, fmt, va_alist) int ret; va_list ap; FILE f; - int on; + size_t on; on = n; if (n > 0) diff --git a/lib/libc/stdio/vsnprintf.c b/lib/libc/stdio/vsnprintf.c index fa91175e92f1..0f43d8159230 100644 --- a/lib/libc/stdio/vsnprintf.c +++ b/lib/libc/stdio/vsnprintf.c @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)vsnprintf.c 8.1 (Berkeley) 6/4/93"; #endif static const char rcsid[] = - "$Id: vsnprintf.c,v 1.8 1997/12/24 20:24:08 ache Exp $"; + "$Id: vsnprintf.c,v 1.9 1997/12/24 23:02:47 ache Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -54,7 +54,7 @@ vsnprintf(str, n, fmt, ap) { int ret; FILE f; - int on; + size_t on; on = n; if (n > 0)