Browse Source

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

liruncong 6 years ago
parent
commit
b8b711d0a7
1 changed files with 1 additions and 1 deletions
  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(
 static int dfs_uffs_getdents(
     struct dfs_fd* file,
     struct dfs_fd* file,
     struct dirent* dirp,
     struct dirent* dirp,
-    rt_uint32_t count)
+    uint32_t count)
 {
 {
     rt_uint32_t index;
     rt_uint32_t index;
     char * file_path;
     char * file_path;