summaryrefslogtreecommitdiff
path: root/os/src/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/src/write.c')
-rw-r--r--os/src/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/src/write.c b/os/src/write.c
index 268c0f1..14e26d6 100644
--- a/os/src/write.c
+++ b/os/src/write.c
@@ -4,7 +4,7 @@
#include "fio.h"
_ssize_t _write_r(struct _reent * reent, int fd, const void * buf, size_t size) {
- int r;
+ _ssize_t r;
if (!fio_is_open(fd)) {
reent->_errno = EBADF;