Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lihuiba committed Apr 19, 2024
1 parent c1bf090 commit bfd170f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ TEST(range_split, range_split_aligned_case)
EXPECT_EQ(12ul, p.end()->i);
EXPECT_EQ(352ul, split.aligned_length());
auto q = split.aligned_parts();
int cnt = 1;
uint64_t cnt = 1;
for (auto &rs: q) {
EXPECT_EQ(cnt++, rs.i);
EXPECT_EQ(0ul, rs.begin());
Expand Down Expand Up @@ -981,7 +981,7 @@ void sequence_content_rw_test (uint64_t test_block_size, uint64_t test_block_num
void xfile_fstat_test(uint64_t fsize, fs::IFile* file) {
struct stat st;
file->fstat(&st);
EXPECT_EQ(fsize, st.st_size);
EXPECT_EQ(fsize, (uint64_t)st.st_size);
}

void xfile_not_impl_test(fs::IFile* file) {
Expand Down

0 comments on commit bfd170f

Please sign in to comment.