From 2af8a21b93cc7fe2397023de2f8c356d38fe7a18 Mon Sep 17 00:00:00 2001 From: "titzer@chromium.org" Date: Fri, 19 Sep 2014 14:40:08 +0000 Subject: [PATCH] Fix build. TBR=mstarzinger@chromium.org BUG= Review URL: https://codereview.chromium.org/591453002 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24093 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- test/cctest/compiler/test-run-machops.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/cctest/compiler/test-run-machops.cc b/test/cctest/compiler/test-run-machops.cc index b05b830..1b5aa61 100644 --- a/test/cctest/compiler/test-run-machops.cc +++ b/test/cctest/compiler/test-run-machops.cc @@ -3254,7 +3254,7 @@ TEST(RunChangeFloat64ToUint32_spilled) { for (int i = 0; i < kNumInputs; i++) { if (i % 2) { - input[i] = 100 + i + 2147483648; + input[i] = 100 + i + 2147483648u; } else { input[i] = 100 + i; } @@ -3264,9 +3264,9 @@ TEST(RunChangeFloat64ToUint32_spilled) { for (int i = 0; i < kNumInputs; i++) { if (i % 2) { - CHECK_EQ(result[i], 100 + i + 2147483648); + CHECK_UINT32_EQ(result[i], static_cast(100 + i + 2147483648u)); } else { - CHECK_EQ(result[i], 100 + i); + CHECK_UINT32_EQ(result[i], static_cast(100 + i)); } } } -- 2.7.4