Reviewers: Søren Gjesse,

Message:
PTAL.

Description:
Fix build on x64


Please review this at http://codereview.chromium.org/7284011/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M test/cctest/test-compiler.cc


Index: test/cctest/test-compiler.cc
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc
index 380d6d95ce78f1fefcaaf9f9735f071b46eeb2d5..5bf096c92b39d655d3c93858ac2c740f4a7db734 100644
--- a/test/cctest/test-compiler.cc
+++ b/test/cctest/test-compiler.cc
@@ -378,7 +378,8 @@ static void CheckCodeForUnsafeLiteral(Handle<JSFunction> f) {

     v8::internal::EmbeddedVector<char, 128> decode_buffer;
     while (pc < end) {
-      PrintF("%08x\n", reinterpret_cast<intptr_t>(pc));
+      PrintF("%08x\n",
+             static_cast<unsigned int>(reinterpret_cast<intptr_t>(pc)));
       pc += d.InstructionDecode(decode_buffer, pc);
       CHECK(strstr(decode_buffer.start(), "mov eax,0x178c29c") == NULL);
       CHECK(strstr(decode_buffer.start(), "push 0x178c29c") == NULL);


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to