Skip to content

Commit

Permalink
Replace uint with uint32_t in unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
rtcote committed Oct 5, 2023
1 parent 8e1db8d commit 979bb9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ut/columns_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -965,8 +965,8 @@ TEST(ColumnsCase, RawVector) {
column->Append(20u); \
ASSERT_EQ(columns[test_id_in]->Size(), 2u); \
auto column_v = column->GetRawVector(); \
ASSERT_EQ(static_cast<uint>(column_v[0]), 10u); \
ASSERT_EQ(static_cast<uint>(column_v[1]), 20u); \
ASSERT_EQ(static_cast<uint32_t>(column_v[0]), 10u); \
ASSERT_EQ(static_cast<uint32_t>(column_v[1]), 20u); \
break; \
}

Expand All @@ -978,8 +978,8 @@ TEST(ColumnsCase, RawVector) {
column->AppendRaw(20u); \
ASSERT_EQ(columns[test_id_in]->Size(), 2u); \
auto column_v = column->GetRawVector(); \
ASSERT_EQ(static_cast<uint>(column_v[0]), 10u); \
ASSERT_EQ(static_cast<uint>(column_v[1]), 20u); \
ASSERT_EQ(static_cast<uint32_t>(column_v[0]), 10u); \
ASSERT_EQ(static_cast<uint32_t>(column_v[1]), 20u); \
break; \
}

Expand Down

0 comments on commit 979bb9f

Please sign in to comment.