1
0
mirror of https://github.com/nlohmann/json synced 2024-11-23 20:40:08 +00:00

🔨 fixed compilation

This commit is contained in:
Niels Lohmann 2017-05-22 22:59:57 +02:00
parent 9a576fe1d9
commit 52adf3fd5b
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -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;