From 0ddcff0b07566260e1e00990f70555110fb5cfa7 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Tue, 14 Oct 2014 02:14:55 -0700 Subject: [msvc][win] Fixed compilation issues --- platform/platform_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/platform_win.cpp') 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(freeSpace.u.HighPart) << 32) < neededSize) return NOT_ENOUGH_SPACE; return STORAGE_OK; -- cgit v1.2.3