From 298c7ce62f29b9cd2a0d8a203d73e035d2248b8d Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 27 Oct 2011 11:24:38 +0300 Subject: [PATCH] Warning fix --- coding/coding_tests/varint_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coding/coding_tests/varint_test.cpp b/coding/coding_tests/varint_test.cpp index 0f5bded6af..b7386e02a4 100644 --- a/coding/coding_tests/varint_test.cpp +++ b/coding/coding_tests/varint_test.cpp @@ -116,7 +116,7 @@ UNIT_TEST(ReadVarInt64Array) { int64_t const baseValues [] = { - 0, 127, 128, (2 << 28) - 1, (2 << 28), (2 << 31), (2 << 31) - 1, + 0, 127, 128, (2 << 28) - 1, (2 << 28), (2LL << 31), (2LL << 31) - 1, 0xFFFFFFFF - 1, 0xFFFFFFFF, 0xFFFFFFFFFFULL }; for (size_t i = 0; i < ARRAY_SIZE(baseValues); ++i)