Browse Source

[components][dfs_v2]: Fix cromfs bug (#10054)

wycwyhwyq 2 months ago
parent
commit
88195c8cab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/dfs/dfs_v2/filesystems/cromfs/dfs_cromfs.c

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

@@ -747,7 +747,7 @@ static int fill_file_data(file_info *fi)
     int ret = -1;
     cromfs_info *ci = NULL;
     void *compressed_file_buff = NULL;
-    uint32_t size = 0, osize = 0;
+    uLongf size = 0, osize = 0;
 
     if (!fi->data_valid)
     {