From cc4e6258d67fb16d4a92c25078a0822a9849cd77 Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Fri, 23 May 2014 16:52:08 +0100 Subject: [PATCH] unittest_strtol: fix compilation warning Was fixed in master by a4923f5bc373d530d1ffdf6c58a4d88139daedd2 Signed-off-by: Sage Weil --- src/test/strtol.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/strtol.cc b/src/test/strtol.cc index 3c008b6035d19..08ba081ac2bbf 100644 --- a/src/test/strtol.cc +++ b/src/test/strtol.cc @@ -159,7 +159,7 @@ static void test_strict_sistrtoll_units(const std::string& foo, long long tmp = strict_strtoll(str, 10, &err2); ASSERT_EQ(err2, ""); tmp = (tmp << m); - ASSERT_EQ(tmp, r); + ASSERT_EQ(tmp, (long long)r); } TEST(SIStrToLL, WithUnits) { -- 2.39.5