Index: test/cctest/test-assembler-mips64.cc |
diff --git a/test/cctest/test-assembler-mips64.cc b/test/cctest/test-assembler-mips64.cc |
index a698e16565ae1f17192f23cd6ea2ef56f6a8b4ec..0494a755c972085db7eac867e5ccb199ef0e875b 100644 |
--- a/test/cctest/test-assembler-mips64.cc |
+++ b/test/cctest/test-assembler-mips64.cc |
@@ -3121,8 +3121,9 @@ TEST(jump_tables1) { |
#endif |
F1 f = FUNCTION_CAST<F1>(code->entry()); |
for (int i = 0; i < kNumCases; ++i) { |
- int res = reinterpret_cast<int64_t>(CALL_GENERATED_CODE(f, i, 0, 0, 0, 0)); |
- ::printf("f(%d) = %d\n", i, res); |
+ int64_t res = reinterpret_cast<int64_t>( |
+ CALL_GENERATED_CODE(f, i, 0, 0, 0, 0)); |
+ ::printf("f(%d) = %" PRId64 "\n", i, res); |
CHECK_EQ(values[i], static_cast<int>(res)); |
} |
} |
@@ -3192,8 +3193,9 @@ TEST(jump_tables2) { |
#endif |
F1 f = FUNCTION_CAST<F1>(code->entry()); |
for (int i = 0; i < kNumCases; ++i) { |
- int res = reinterpret_cast<int64_t>(CALL_GENERATED_CODE(f, i, 0, 0, 0, 0)); |
- ::printf("f(%d) = %d\n", i, res); |
+ int64_t res = reinterpret_cast<int64_t>( |
+ CALL_GENERATED_CODE(f, i, 0, 0, 0, 0)); |
+ ::printf("f(%d) = %" PRId64 "\n", i, res); |
CHECK_EQ(values[i], res); |
} |
} |