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:
authorAlex Zolotarev <alex@maps.me>2014-10-14 13:14:55 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:30:57 +0300
commit0ddcff0b07566260e1e00990f70555110fb5cfa7 (patch)
tree32d542f1b9d9f6dcdc4e800b4ac5b3d6ee62b2c8 /platform/platform_win.cpp
parent9ad4f6585c45443815b7ab9a691a7c47eefe6012 (diff)
[msvc][win] Fixed compilation issues
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;