Reviewers: Yang,

Description:
One more Windows compilation fix after r15750

BUG=None
[email protected]

Please review this at https://codereview.chromium.org/19471006/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/circular-queue.cc


Index: src/circular-queue.cc
diff --git a/src/circular-queue.cc b/src/circular-queue.cc
index 3e32e4d2883e15c3f3af3ba598fa7c469b0283b5..0aea3435927491511ef72b56147949389250f79d 100644
--- a/src/circular-queue.cc
+++ b/src/circular-queue.cc
@@ -74,7 +74,7 @@ SamplingCircularQueue::SamplingCircularQueue(size_t record_size_in_bytes,
   // The distance ensures that producer and consumer never step on
   // each other's chunks and helps eviction of produced data from
   // the CPU cache (having that chunk size is bigger than the cache.)
-  const int producer_consumer_distance = (2 * chunk_size_);
+  const size_t producer_consumer_distance = (2 * chunk_size_);
consumer_pos_->dequeue_chunk_poll_pos = buffer_ + producer_consumer_distance;
   consumer_pos_->dequeue_pos = NULL;
 }


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to