From: yurys@chromium.org Date: Thu, 18 Jul 2013 14:32:06 +0000 (+0000) Subject: One more Windows compilation fix after r15750 X-Git-Tag: upstream/4.7.83~13303 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eeb7452a447d0617373af06e8d1803140906b40d;p=platform%2Fupstream%2Fv8.git One more Windows compilation fix after r15750 BUG=None TBR=yangguo@chromium.org Review URL: https://codereview.chromium.org/19471006 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15754 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/circular-queue.cc b/src/circular-queue.cc index 3e32e4d..0aea343 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; }