From 35816a4eeeca62bb9cd944e9a02ecb29a0e4a2a5 Mon Sep 17 00:00:00 2001 From: Christoph Bachhuber Date: Sat, 22 Feb 2020 07:46:10 +0100 Subject: [PATCH] Replace c type long long by c++ type int64_t --- tests/AppTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/AppTest.cpp b/tests/AppTest.cpp index 1dc6e54f..b0ca787a 100644 --- a/tests/AppTest.cpp +++ b/tests/AppTest.cpp @@ -611,7 +611,7 @@ TEST_F(TApp, BoolOnlyFlag) { TEST_F(TApp, ShortOpts) { - unsigned long long funnyint{0}; + std::uint64_t funnyint{0}; std::string someopt; app.add_flag("-z", funnyint); app.add_option("-y", someopt); @@ -624,7 +624,7 @@ TEST_F(TApp, ShortOpts) { EXPECT_EQ(2u, app.count("-z")); EXPECT_EQ(1u, app.count("-y")); - EXPECT_EQ((unsigned long long)2, funnyint); + EXPECT_EQ(std::uint64_t{2}, funnyint); EXPECT_EQ("zyz", someopt); EXPECT_EQ(app.count_all(), 3u); }