summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/setbuffer.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1998-11-15 17:19:53 +0000
committerchristos <christos@NetBSD.org>1998-11-15 17:19:53 +0000
commite7f7fdba9a2ceba2e63bb84ca8a38c2624b7bf1c (patch)
tree0ed0e8a0dad82e3eb6e4c7fc56536932a52f2740 /lib/libc/stdio/setbuffer.c
parentd1d407360d0bc6cf5fec4853bcdfb05489194cac (diff)
delint
Diffstat (limited to 'lib/libc/stdio/setbuffer.c')
-rw-r--r--lib/libc/stdio/setbuffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/setbuffer.c b/lib/libc/stdio/setbuffer.c
index e4f93dc1c50..b30d8c8d503 100644
--- a/lib/libc/stdio/setbuffer.c
+++ b/lib/libc/stdio/setbuffer.c
@@ -1,4 +1,4 @@
-/* $NetBSD: setbuffer.c,v 1.6 1998/02/03 18:41:21 perry Exp $ */
+/* $NetBSD: setbuffer.c,v 1.7 1998/11/15 17:19:53 christos Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)setbuffer.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: setbuffer.c,v 1.6 1998/02/03 18:41:21 perry Exp $");
+__RCSID("$NetBSD: setbuffer.c,v 1.7 1998/11/15 17:19:53 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -54,7 +54,7 @@ setbuffer(fp, buf, size)
int size;
{
- (void)setvbuf(fp, buf, buf ? _IOFBF : _IONBF, size);
+ (void)setvbuf(fp, buf, buf ? _IOFBF : _IONBF, (size_t)size);
}
/*