mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
stream: reduce int use, handle FS_LARGEFILE correctly.
offset int -> offset, len int -> size_t, ret int -> ssize_t Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
@@ -42,8 +42,8 @@ struct obstack_stream
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
||||
static int obstack_puts(FAR struct lib_outstream_s *self,
|
||||
FAR const void *buf, int len)
|
||||
static ssize_t obstack_puts(FAR struct lib_outstream_s *self,
|
||||
FAR const void *buf, size_t len)
|
||||
{
|
||||
FAR struct obstack_stream *stream = (FAR struct obstack_stream *)self;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user