summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/setbuffer.c
diff options
context:
space:
mode:
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);
}
/*