소스 검색

[DFS/ISO9660] Remove warning for ops

Signed-off-by: GuEe-GUI <2991707448@qq.com>
GuEe-GUI 2 달 전
부모
커밋
f20e8973be
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      components/dfs/dfs_v1/filesystems/iso9660/dfs_iso9660.c

+ 1 - 1
components/dfs/dfs_v1/filesystems/iso9660/dfs_iso9660.c

@@ -391,7 +391,7 @@ static int dfs_iso9660_close(struct dfs_file *fd)
     return 0;
 }
 
-static int dfs_iso9660_read(struct dfs_file *fd, void *buf, size_t count)
+static ssize_t dfs_iso9660_read(struct dfs_file *fd, void *buf, size_t count)
 {
     rt_uint32_t pos;
     void *buf_ptr;