소스 검색

修正参数类型不匹配问题. uint32_t为unsigned int, 而rt_uint32_t为unsigned long
注: armclang编译器报错

liruncong 7 년 전
부모
커밋
b8b711d0a7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      components/dfs/filesystems/uffs/dfs_uffs.c

+ 1 - 1
components/dfs/filesystems/uffs/dfs_uffs.c

@@ -481,7 +481,7 @@ static int dfs_uffs_seek(struct dfs_fd* file,
 static int dfs_uffs_getdents(
     struct dfs_fd* file,
     struct dirent* dirp,
-    rt_uint32_t count)
+    uint32_t count)
 {
     rt_uint32_t index;
     char * file_path;