Skip to content

Commit

Permalink
🔨 fixed compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed May 22, 2017
1 parent 9a576fe commit 52adf3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/src/unit-regression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -734,13 +734,13 @@ TEST_CASE("regression tests")
if (i == 0)
{
CHECK(val == json({{"one", 1}, {"two", 2}}));
CHECK(stream.tellg() == 28);
CHECK(static_cast<int>(stream.tellg()) == 28);
}

if (i == 1)
{
CHECK(val == json({{"three", 3}}));
CHECK(stream.tellg() == 44);
CHECK(static_cast<int>(stream.tellg()) == 44);
}

++i;
Expand Down

0 comments on commit 52adf3f

Please sign in to comment.