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
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;
}
for (int i = 0; i < kNumInputs; i++) {
if (i % 2) {
- CHECK_EQ(result[i], 100 + i + 2147483648);
+ CHECK_UINT32_EQ(result[i], static_cast<uint32_t>(100 + i + 2147483648u));
} else {
- CHECK_EQ(result[i], 100 + i);
+ CHECK_UINT32_EQ(result[i], static_cast<uint32_t>(100 + i));
}
}
}