diff options
Diffstat (limited to 'runtime/leb128_test.cc')
| -rw-r--r-- | runtime/leb128_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/leb128_test.cc b/runtime/leb128_test.cc index 09f7ecc5d6..122f55ebee 100644 --- a/runtime/leb128_test.cc +++ b/runtime/leb128_test.cc @@ -88,7 +88,7 @@ static DecodeSignedLeb128TestCase sleb128_tests[] = { {-0x08000000, {0x80, 0x80, 0x80, 0x40, 0}}, {-0x08000001, {0xFF, 0xFF, 0xFF, 0xBF, 0x7F}}, {-0x20000000, {0x80, 0x80, 0x80, 0x80, 0x7E}}, - {(-1) << 31, {0x80, 0x80, 0x80, 0x80, 0x78}}, + {static_cast<int32_t>(0x80000000), {0x80, 0x80, 0x80, 0x80, 0x78}}, }; TEST(Leb128Test, UnsignedSinglesVector) { |