remove warning for integer literal

dev
MITSUNARI Shigeo 8 years ago
parent 6a43d5d13f
commit 9fc7b239ce
  1. 2
      test/fp_test.cpp

@ -600,7 +600,7 @@ void getInt64Test()
{ {
const int64_t tbl[] = { const int64_t tbl[] = {
0, 1, 123, 0xffffffff, int64_t(0x7fffffffffffffffull), 0, 1, 123, 0xffffffff, int64_t(0x7fffffffffffffffull),
-1, -2, -12345678, -int64_t(1) << 63, -1, -2, -12345678, int64_t(-9223372036854775808ull)/*-int64_t(1) << 63*/,
}; };
for (size_t i = 0; i < CYBOZU_NUM_OF_ARRAY(tbl); i++) { for (size_t i = 0; i < CYBOZU_NUM_OF_ARRAY(tbl); i++) {
int64_t a = tbl[i]; int64_t a = tbl[i];

Loading…
Cancel
Save