From 9207e3aed03053e89c8d859438a44de1aa201f54 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 15 Mar 2017 04:07:11 +0300 Subject: Fix output type in stringutils_unittest.cc --- src/utils/stringutils_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/stringutils_unittest.cc b/src/utils/stringutils_unittest.cc index 35aec970d..2230e3646 100644 --- a/src/utils/stringutils_unittest.cc +++ b/src/utils/stringutils_unittest.cc @@ -138,7 +138,7 @@ TEST_CASE("stringuntils toString 1") static_cast(30000000))); REQUIRE(strprintf("%d", 3000) == toString(CAST_U16(3000))); REQUIRE(strprintf("%d", 123) == toString(CAST_U8(123))); - REQUIRE(strprintf("%ld", static_cast(30000000)) == toString( + REQUIRE(strprintf("%u", static_cast(30000000)) == toString( static_cast(30000000))); REQUIRE(strprintf("%f", 3.1f) == toString(3.1f)); REQUIRE(strprintf("%f", 3.1) == toString(3.1)); -- cgit v1.2.3-70-g09d2