Revision: 10818
Author:   [email protected]
Date:     Fri Feb 24 01:45:27 2012
Log:      Fix compilation issue on Win64.

[email protected]

Review URL: https://chromiumcodereview.appspot.com/9465003
http://code.google.com/p/v8/source/detail?r=10818

Modified:
 /branches/bleeding_edge/src/spaces.cc

=======================================
--- /branches/bleeding_edge/src/spaces.cc       Thu Feb 23 04:11:24 2012
+++ /branches/bleeding_edge/src/spaces.cc       Fri Feb 24 01:45:27 2012
@@ -699,7 +699,7 @@


 int MemoryAllocator::CodePageGuardSize() {
-  return OS::CommitPageSize();
+  return static_cast<int>(OS::CommitPageSize());
 }


@@ -713,7 +713,7 @@
 int MemoryAllocator::CodePageAreaEndOffset() {
   // We are guarding code pages: the last OS page will be protected as
   // non-writable.
-  return Page::kPageSize - OS::CommitPageSize();
+  return Page::kPageSize - static_cast<int>(OS::CommitPageSize());
 }


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

Reply via email to