diff options
Diffstat (limited to 'base/shared_memory_win.cc')
-rw-r--r-- | base/shared_memory_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/shared_memory_win.cc b/base/shared_memory_win.cc index dd4c73b..4afad3a 100644 --- a/base/shared_memory_win.cc +++ b/base/shared_memory_win.cc @@ -62,7 +62,7 @@ void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { } bool SharedMemory::Create(const std::wstring &name, bool read_only, - bool open_existing, size_t size) { + bool open_existing, uint32 size) { DCHECK(mapped_file_ == NULL); name_ = name; @@ -102,7 +102,7 @@ bool SharedMemory::Open(const std::wstring &name, bool read_only) { return false; } -bool SharedMemory::Map(size_t bytes) { +bool SharedMemory::Map(uint32 bytes) { if (mapped_file_ == NULL) return false; |