diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-12-06 22:41:21 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-12-06 22:41:21 +0000 |
commit | 99d6c367c4820a072dc4ada51561df17e2093778 (patch) | |
tree | 969945da0bce7248de98eefedaeb590f5cfdd85e /libc/stdio/_WRITE.c | |
parent | aeba32a371882d602f6863320880f0c69c824b77 (diff) |
stdio update from mjn3
Diffstat (limited to 'libc/stdio/_WRITE.c')
-rw-r--r-- | libc/stdio/_WRITE.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/_WRITE.c b/libc/stdio/_WRITE.c index 2bd0977fd..83714bd4c 100644 --- a/libc/stdio/_WRITE.c +++ b/libc/stdio/_WRITE.c @@ -49,7 +49,7 @@ size_t attribute_hidden __stdio_WRITE(register FILE *stream, return bufsize; } stodo = (todo <= SSIZE_MAX) ? todo : SSIZE_MAX; - if ((rv = __WRITE(stream, buf, stodo)) >= 0) { + if ((rv = __WRITE(stream, (char *) buf, stodo)) >= 0) { #ifdef __UCLIBC_MJN3_ONLY__ #warning TODO: Make custom stream write return check optional. #endif |