diff options
author | ache <ache@FreeBSD.org> | 1997-12-24 23:54:19 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-12-24 23:54:19 +0000 |
commit | e4ef30b29d1d3250c08542d07819f104cf79cce0 (patch) | |
tree | 163c41ed25d5d945aead3d80294569c12a39f9d5 | |
parent | 33cd251a1b5fd365424f8c5044b05822a430c102 (diff) | |
download | FreeBSD-src-e4ef30b29d1d3250c08542d07819f104cf79cce0.zip FreeBSD-src-e4ef30b29d1d3250c08542d07819f104cf79cce0.tar.gz |
Correct type of stored argument place (from previous fix)
-rw-r--r-- | lib/libc/stdio/snprintf.c | 4 | ||||
-rw-r--r-- | lib/libc/stdio/vsnprintf.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/snprintf.c b/lib/libc/stdio/snprintf.c index b3944e3..aa70bb2 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 <stdio.h> @@ -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 fa91175..0f43d81 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 <stdio.h> @@ -54,7 +54,7 @@ vsnprintf(str, n, fmt, ap) { int ret; FILE f; - int on; + size_t on; on = n; if (n > 0) |