Revision: 4674
Author: [email protected]
Date: Tue May 18 08:18:23 2010
Log: Fix x64 compilation error in r4673.
Review URL: http://codereview.chromium.org/2129010
http://code.google.com/p/v8/source/detail?r=4674

Modified:
 /branches/bleeding_edge/src/profile-generator.cc

=======================================
--- /branches/bleeding_edge/src/profile-generator.cc Tue May 18 07:19:33 2010 +++ /branches/bleeding_edge/src/profile-generator.cc Tue May 18 08:18:23 2010
@@ -545,7 +545,7 @@
                                                 false);
   int index;
   if (entry != NULL) {
-    index = reinterpret_cast<int>(entry->value);
+    index = static_cast<int>(reinterpret_cast<intptr_t>(entry->value));
   } else {
     return NULL;
   }

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

Reply via email to