aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-12-24 23:54:19 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-12-24 23:54:19 +0000
commitfb25537fb854c86555f13528b8775406942328b6 (patch)
tree797d8a21d2ffdeeffeeb355d60573c422b79068a /lib
parent947d1011715bdb966f59b6d6a6b39e971c0a08ea (diff)
downloadsrc-fb25537fb854c86555f13528b8775406942328b6.tar.gz
src-fb25537fb854c86555f13528b8775406942328b6.zip
Correct type of stored argument place (from previous fix)
Notes
Notes: svn path=/head/; revision=31982
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdio/snprintf.c4
-rw-r--r--lib/libc/stdio/vsnprintf.c4
2 files changed, 4 insertions, 4 deletions
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 <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 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 <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)