summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/command_buffer_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/command_buffer_service.cc')
-rw-r--r--gpu/command_buffer/service/command_buffer_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/command_buffer_service.cc b/gpu/command_buffer/service/command_buffer_service.cc
index 2716d3b..bd85dc1 100644
--- a/gpu/command_buffer/service/command_buffer_service.cc
+++ b/gpu/command_buffer/service/command_buffer_service.cc
@@ -33,7 +33,7 @@ bool CommandBufferService::Initialize(int32 size) {
size_ = size;
ring_buffer_.reset(new SharedMemory);
- size_t size_bytes = size * sizeof(CommandBufferEntry);
+ uint32 size_bytes = size * sizeof(CommandBufferEntry);
if (ring_buffer_->Create(std::wstring(), false, false, size_bytes)) {
if (ring_buffer_->Map(size_bytes))
return true;