Skip to content

Commit

Permalink
Fix narrowing conversion in test
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Aug 9, 2023
1 parent 52d6ed3 commit 32c3648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/fixture_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,8 @@ TEST_CASE("MVT test 032: Layer with single feature with string property value")
REQUIRE(ii.value().value() == 0);
REQUIRE_FALSE(feature.next_property_indexes());

int32_t sum = 0;
int32_t count = 0;
uint32_t sum = 0;
uint32_t count = 0;
feature.for_each_property_indexes([&](vtzero::index_value_pair&& ivp) {
sum += ivp.key().value();
sum += ivp.value().value();
Expand Down

0 comments on commit 32c3648

Please sign in to comment.