[llvm] r265087 - Fix Windows build (typo in disk_space() implementation)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 31 17:52:06 PDT 2016
Author: mehdi_amini
Date: Thu Mar 31 19:52:05 2016
New Revision: 265087
URL: http://llvm.org/viewvc/llvm-project?rev=265087&view=rev
Log:
Fix Windows build (typo in disk_space() implementation)
From: Mehdi Amini <mehdi.amini at apple.com>
Modified:
llvm/trunk/lib/Support/Windows/Path.inc
Modified: llvm/trunk/lib/Support/Windows/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Path.inc?rev=265087&r1=265086&r2=265087&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Path.inc (original)
+++ llvm/trunk/lib/Support/Windows/Path.inc Thu Mar 31 19:52:05 2016
@@ -158,7 +158,7 @@ ErrorOr<space_info> disk_space(const Twi
space_info SpaceInfo;
SpaceInfo.capacity =
(static_cast<uint64_t>(Total.HighPart) << 32) + Total.LowPart;
- SpaceInfo.Free = (static_cast<uint64_t>(Free.HighPart) << 32) + Free.LowPart;
+ SpaceInfo.free = (static_cast<uint64_t>(Free.HighPart) << 32) + Free.LowPart;
SpaceInfo.available =
(static_cast<uint64_t>(Avail.HighPart) << 32) + Avail.LowPart;
return SpaceInfo;
More information about the llvm-commits
mailing list