summaryrefslogtreecommitdiff
path: root/power-libperfmgr/libperfmgr/tests/RequestGroupTest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'power-libperfmgr/libperfmgr/tests/RequestGroupTest.cc')
-rw-r--r--power-libperfmgr/libperfmgr/tests/RequestGroupTest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/power-libperfmgr/libperfmgr/tests/RequestGroupTest.cc b/power-libperfmgr/libperfmgr/tests/RequestGroupTest.cc
index 8021a7e8..c23c8211 100644
--- a/power-libperfmgr/libperfmgr/tests/RequestGroupTest.cc
+++ b/power-libperfmgr/libperfmgr/tests/RequestGroupTest.cc
@@ -63,7 +63,7 @@ TEST(RequestGroupTest, AddRequestNoExpireTest) {
ReqTime::max() - std::chrono::steady_clock::now());
EXPECT_NEAR(expect.count(), expire_time.count(), kTIMING_TOLERANCE_MS);
// expire time is greater than 1 year
- EXPECT_LE(365 * 24 * 60 * 60 * 1000, expire_time.count());
+ EXPECT_LE(365ll * 24 * 60 * 60 * 1000, expire_time.count());
EXPECT_EQ(true, active);
}