Explorar el Código

[DFS/ISO9660] Remove warning for ops

Signed-off-by: GuEe-GUI <2991707448@qq.com>
GuEe-GUI hace 2 meses
padre
commit
f20e8973be
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;