diff options
Diffstat (limited to 'lib/libc/stdio/setbuffer.c')
| -rw-r--r-- | lib/libc/stdio/setbuffer.c | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/lib/libc/stdio/setbuffer.c b/lib/libc/stdio/setbuffer.c index a6d06ddda22a..d27217751e15 100644 --- a/lib/libc/stdio/setbuffer.c +++ b/lib/libc/stdio/setbuffer.c @@ -35,7 +35,11 @@   */  #if defined(LIBC_SCCS) && !defined(lint) +#if 0  static char sccsid[] = "@(#)setbuffer.c	8.1 (Berkeley) 6/4/93"; +#endif +static const char rcsid[] = +		"$Id$";  #endif /* LIBC_SCCS and not lint */  #include <stdio.h> @@ -47,7 +51,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);  }  /* | 
