yamt commented on code in PR #15552:
URL: https://github.com/apache/nuttx/pull/15552#discussion_r1915951045


##########
arch/sim/src/sim/posix/sim_hostfs.c:
##########
@@ -233,7 +246,7 @@ nuttx_ssize_t host_read(int fd, void *buf, nuttx_size_t 
count)
       ret = -errno;
     }
 
-  return ret;
+  return host_errno_convert(ret);

Review Comment:
   this truncates nuttx_ssize_t to int. ditto for write, lseek.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to