Skip to content

Commit

Permalink
Fix FastDDS windows CI error
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <methylDragon@gmail.com>
  • Loading branch information
methylDragon committed Sep 22, 2022
1 parent dab9c06 commit df44d8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpp/dynamic-types/DynamicDataHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ void DynamicDataHelper::print_basic_collection(
{
auto count = data->get_item_count();
std::cout << "[";
for (size_t i = 0; i < count; ++i)
for (uint32_t i = 0; i < count; ++i)
{
print_basic_element(data, i, data->type_->get_element_type()->get_kind());
std::cout << (i == count - 1 ? "]" : ", ");
Expand Down Expand Up @@ -291,7 +291,7 @@ void DynamicDataHelper::print_complex_collection(
{
auto count = data->get_item_count();

for (size_t i = 0; i < count; ++i)
for (uint32_t i = 0; i < count; ++i)
{
std::cout << tabs << "[" << i << "] = ";
print_complex_element(data, i, tabs);
Expand Down

0 comments on commit df44d8c

Please sign in to comment.