From a004a00952f8201f1c43911395e7b6f019443538 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Wed, 4 Mar 2020 09:33:55 +0900 Subject: [PATCH] remove warning of vc in fp_test --- test/fp_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fp_test.cpp b/test/fp_test.cpp index 36ba4d6..469f35d 100644 --- a/test/fp_test.cpp +++ b/test/fp_test.cpp @@ -651,7 +651,7 @@ void getInt64Test() { const int64_t tbl[] = { 0, 1, 123, 0xffffffff, int64_t(0x7fffffffffffffffull), - -1, -2, -12345678, int64_t(-9223372036854775808ull)/*-int64_t(1) << 63*/, + -1, -2, -12345678, -int64_t(0x7fffffffffffffffull) - 1/*-int64_t(1) << 63*/, }; for (size_t i = 0; i < CYBOZU_NUM_OF_ARRAY(tbl); i++) { int64_t a = tbl[i];