From 52adf3fd5b0b941d4a55e982ae803d968296e5fa Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Mon, 22 May 2017 22:59:57 +0200 Subject: [PATCH] :hammer: fixed compilation --- test/src/unit-regression.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/src/unit-regression.cpp b/test/src/unit-regression.cpp index a5e79ab60..655e6b19e 100644 --- a/test/src/unit-regression.cpp +++ b/test/src/unit-regression.cpp @@ -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(stream.tellg()) == 28); } if (i == 1) { CHECK(val == json({{"three", 3}})); - CHECK(stream.tellg() == 44); + CHECK(static_cast(stream.tellg()) == 44); } ++i;