summaryrefslogtreecommitdiff
path: root/nuttx/lib/lib_libfflush.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/lib_libfflush.c')
-rw-r--r--nuttx/lib/lib_libfflush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/lib_libfflush.c b/nuttx/lib/lib_libfflush.c
index 52af91c8d..23be9c83a 100644
--- a/nuttx/lib/lib_libfflush.c
+++ b/nuttx/lib/lib_libfflush.c
@@ -106,7 +106,7 @@ ssize_t lib_fflush(FILE *stream, boolean bforce)
{
#if CONFIG_STDIO_BUFFER_SIZE > 0
const unsigned char *src;
- size_t bytes_written;
+ ssize_t bytes_written;
size_t nbuffer;
/* Return EBADF if the file is not opened for writing */