Revision: 8471
Author:   [email protected]
Date:     Wed Jun 29 07:28:41 2011
Log:      Fix build on x64

Review URL: http://codereview.chromium.org/7284011
http://code.google.com/p/v8/source/detail?r=8471

Modified:
 /branches/bleeding_edge/test/cctest/test-compiler.cc

=======================================
--- /branches/bleeding_edge/test/cctest/test-compiler.cc Wed Jun 29 06:40:23 2011 +++ /branches/bleeding_edge/test/cctest/test-compiler.cc Wed Jun 29 07:28:41 2011
@@ -378,7 +378,8 @@

     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