diff options
Diffstat (limited to 'userland/libc/stdio/fwrite.c')
-rw-r--r-- | userland/libc/stdio/fwrite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userland/libc/stdio/fwrite.c b/userland/libc/stdio/fwrite.c index 552bbd6..6065465 100644 --- a/userland/libc/stdio/fwrite.c +++ b/userland/libc/stdio/fwrite.c @@ -3,7 +3,7 @@ size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream) { // FIXME: Check for overflow - ssize_t bytes_to_write = nmemb * size; + size_t bytes_to_write = nmemb * size; size_t rc = stream->write(stream, ptr, bytes_to_write); // On success, fwrite() return the number of items // written. |