Procházet zdrojové kódy

修改cromfs的lseek函数offset类型为off_t

shaojinchun před 5 roky
rodič
revize
ff71dcb012
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      components/dfs/filesystems/cromfs/dfs_cromfs.c

+ 1 - 1
components/dfs/filesystems/cromfs/dfs_cromfs.c

@@ -688,7 +688,7 @@ static int dfs_cromfs_read(struct dfs_fd *file, void *buf, size_t count)
     return length;
 }
 
-static int dfs_cromfs_lseek(struct dfs_fd *file, rt_off_t offset)
+static int dfs_cromfs_lseek(struct dfs_fd *file, off_t offset)
 {
     if (offset <= file->size)
     {