Revision: 10183
Author:   [email protected]
Date:     Tue Dec  6 14:08:46 2011
Log:      Obligatory fix for Win64.

BUG=v8:1832
TEST=none
[email protected]

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

Modified:
 /branches/bleeding_edge/src/profile-generator-inl.h

=======================================
--- /branches/bleeding_edge/src/profile-generator-inl.h Tue Dec 6 09:41:47 2011 +++ /branches/bleeding_edge/src/profile-generator-inl.h Tue Dec 6 14:08:46 2011
@@ -108,9 +108,10 @@


 int V8HeapExplorer::GetGcSubrootOrder(HeapObject* subroot) {
-  return (reinterpret_cast<char*>(subroot) -
-          reinterpret_cast<char*>(kFirstGcSubrootObject)) /
-      HeapObjectsMap::kObjectIdStep;
+  return static_cast<int>(
+      (reinterpret_cast<char*>(subroot) -
+       reinterpret_cast<char*>(kFirstGcSubrootObject)) /
+      HeapObjectsMap::kObjectIdStep);
 }


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

Reply via email to