diff options
Diffstat (limited to 'nuttx/fs/fs_read.c')
-rw-r--r-- | nuttx/fs/fs_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/fs/fs_read.c b/nuttx/fs/fs_read.c index 7500d3599..51d10830a 100644 --- a/nuttx/fs/fs_read.c +++ b/nuttx/fs/fs_read.c @@ -53,7 +53,7 @@ * Global Functions ****************************************************************************/ -int read(int fd, FAR void *buf, unsigned int nbytes) +ssize_t read(int fd, FAR void *buf, size_t nbytes) { FAR struct filelist *list; int ret = EBADF; |