Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'platform/platform_win.cpp')
-rw-r--r--platform/platform_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/platform_win.cpp b/platform/platform_win.cpp
index e7058814e2..271a5f1a07 100644
--- a/platform/platform_win.cpp
+++ b/platform/platform_win.cpp
@@ -127,7 +127,7 @@ Platform::TStorageStatus Platform::GetWritableStorageStatus(uint64_t neededSize)
return STORAGE_DISCONNECTED;
}
- if (freeSpace.u.LowPart + (freeSpace.u.HighPart << 32) < neededSize)
+ if (freeSpace.u.LowPart + (static_cast<uint64_t>(freeSpace.u.HighPart) << 32) < neededSize)
return NOT_ENOUGH_SPACE;
return STORAGE_OK;