Revision: 10146
Author:   [email protected]
Date:     Sun Dec  4 23:57:44 2011
Log:      Fixing windows build.

"src\store-buffer.cc(72) : warning C4244: 'initializing' : conversion from 'intptr_t' to 'int', possible loss of data"

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

Modified:
 /branches/bleeding_edge/src/store-buffer.cc

=======================================
--- /branches/bleeding_edge/src/store-buffer.cc Fri Dec  2 06:08:12 2011
+++ /branches/bleeding_edge/src/store-buffer.cc Sun Dec  4 23:57:44 2011
@@ -69,7 +69,7 @@
// Don't know the alignment requirements of the OS, but it is certainly not
   // less than 0xfff.
   ASSERT((reinterpret_cast<uintptr_t>(old_start_) & 0xfff) == 0);
-  int initial_length = OS::CommitPageSize() / kPointerSize;
+ int initial_length = static_cast<int>(OS::CommitPageSize() / kPointerSize);
   ASSERT(initial_length > 0);
   ASSERT(initial_length <= kOldStoreBufferLength);
   old_limit_ = old_start_ + initial_length;

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

Reply via email to