Commit 35816a4eeeca62bb9cd944e9a02ecb29a0e4a2a5

Authored by Christoph Bachhuber
Committed by Henry Schreiner
1 parent 0c8a3910

Replace c type long long by c++ type int64_t

Showing 1 changed file with 2 additions and 2 deletions
tests/AppTest.cpp
... ... @@ -611,7 +611,7 @@ TEST_F(TApp, BoolOnlyFlag) {
611 611  
612 612 TEST_F(TApp, ShortOpts) {
613 613  
614   - unsigned long long funnyint{0};
  614 + std::uint64_t funnyint{0};
615 615 std::string someopt;
616 616 app.add_flag("-z", funnyint);
617 617 app.add_option("-y", someopt);
... ... @@ -624,7 +624,7 @@ TEST_F(TApp, ShortOpts) {
624 624  
625 625 EXPECT_EQ(2u, app.count("-z"));
626 626 EXPECT_EQ(1u, app.count("-y"));
627   - EXPECT_EQ((unsigned long long)2, funnyint);
  627 + EXPECT_EQ(std::uint64_t{2}, funnyint);
628 628 EXPECT_EQ("zyz", someopt);
629 629 EXPECT_EQ(app.count_all(), 3u);
630 630 }
... ...