summaryrefslogtreecommitdiff
path: root/nuttx/fs/fs_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/fs_write.c')
-rw-r--r--nuttx/fs/fs_write.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/fs_write.c b/nuttx/fs/fs_write.c
index 28fa8664c..19652ad59 100644
--- a/nuttx/fs/fs_write.c
+++ b/nuttx/fs/fs_write.c
@@ -58,7 +58,7 @@
* Global Functions
****************************************************************************/
-/********************************************************************************************
+/***************************************************************************
* Function: write
*
* Description:
@@ -108,7 +108,7 @@
*
********************************************************************************************/
-int write(int fd, FAR const void *buf, unsigned int nbytes)
+ssize_t write(int fd, FAR const void *buf, size_t nbytes)
{
#if CONFIG_NFILE_DESCRIPTORS > 0
FAR struct filelist *list;