فهرست منبع

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

liruncong 6 سال پیش
والد
کامیت
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;