Index: runtime/bin/file_win.cc |
diff --git a/runtime/bin/file_win.cc b/runtime/bin/file_win.cc |
index bdd7065167ecad362023a843031dc02b7c5f5092..989adfdc8148c199ab73e23a1ac2df9b83514ec6 100644 |
--- a/runtime/bin/file_win.cc |
+++ b/runtime/bin/file_win.cc |
@@ -116,7 +116,7 @@ MappedMemory* File::Map(File::MapType type, int64_t position, int64_t length) { |
void MappedMemory::Unmap() { |
- bool result = VirtualFree(address_, size_, MEM_RELEASE); |
+ BOOL result = VirtualFree(address_, 0, MEM_RELEASE); |
ASSERT(result); |
address_ = 0; |
size_ = 0; |