Commit b466adfe authored by bbudge's avatar bbudge Committed by Commit bot

V8: Fix OS X build of ARM 64 test.

Fixes 4 compile errors on Mac due to specifiers not matching type casts.

LOG=N
BUG=

Review-Url: https://codereview.chromium.org/1960113002
Cr-Commit-Position: refs/heads/master@{#36115}
parent 57a73e81
...@@ -50,7 +50,7 @@ TEST(WasmRelocationArm64MemoryReference) { ...@@ -50,7 +50,7 @@ TEST(WasmRelocationArm64MemoryReference) {
#ifdef DEBUG #ifdef DEBUG
OFStream os(stdout); OFStream os(stdout);
code->Print(os); code->Print(os);
::printf("f() = %ld\n\n", ret_value); ::printf("f() = %" PRIx64 "\n\n", ret_value);
#endif #endif
size_t offset = 1234; size_t offset = 1234;
...@@ -74,7 +74,7 @@ TEST(WasmRelocationArm64MemoryReference) { ...@@ -74,7 +74,7 @@ TEST(WasmRelocationArm64MemoryReference) {
#ifdef DEBUG #ifdef DEBUG
code->Print(os); code->Print(os);
::printf("f() = %ld\n\n", ret_value); ::printf("f() = %" PRIx64 "\n\n", ret_value);
#endif #endif
} }
...@@ -111,7 +111,7 @@ TEST(WasmRelocationArm64MemorySizeReference) { ...@@ -111,7 +111,7 @@ TEST(WasmRelocationArm64MemorySizeReference) {
#ifdef DEBUG #ifdef DEBUG
OFStream os(stdout); OFStream os(stdout);
code->Print(os); code->Print(os);
::printf("f() = %ld\n\n", ret_value); ::printf("f() = %" PRIx64 "\n\n", ret_value);
#endif #endif
int32_t diff = 512; int32_t diff = 512;
...@@ -131,7 +131,7 @@ TEST(WasmRelocationArm64MemorySizeReference) { ...@@ -131,7 +131,7 @@ TEST(WasmRelocationArm64MemorySizeReference) {
#ifdef DEBUG #ifdef DEBUG
code->Print(os); code->Print(os);
::printf("f() = %ld\n\n", ret_value); ::printf("f() = %" PRIx64 "\n\n", ret_value);
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment