Fix gcc 4.9.2 signed-compare error.

BUG=

Review URL: https://codereview.chromium.org/1456543003

Cr-Commit-Position: refs/heads/master@{#32053}
This commit is contained in:
akos.palfi 2015-11-17 08:07:00 -08:00 committed by Commit bot
parent 5bf360ef57
commit 0403fd860c

View File

@ -5459,7 +5459,7 @@ TEST(RunRoundUint64ToFloat64) {
BufferedRawMachineAssemblerTester<double> m(kMachUint64);
m.Return(m.RoundUint64ToFloat64(m.Parameter(0)));
for (int i = 0; i < arraysize(values); i++) {
for (size_t i = 0; i < arraysize(values); i++) {
CHECK_EQ(bit_cast<double>(values[i].expected), m.Call(values[i].input));
}
}
@ -5549,7 +5549,7 @@ TEST(RunRoundUint64ToFloat32) {
BufferedRawMachineAssemblerTester<float> m(kMachUint64);
m.Return(m.RoundUint64ToFloat32(m.Parameter(0)));
for (int i = 0; i < arraysize(values); i++) {
for (size_t i = 0; i < arraysize(values); i++) {
CHECK_EQ(bit_cast<float>(values[i].expected), m.Call(values[i].input));
}
}