Fix Windows build (typo in disk_space() implementation)

From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 265087
This commit is contained in:
Mehdi Amini 2016-04-01 00:52:05 +00:00
parent 830c81d511
commit 64719159d0
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ ErrorOr<space_info> disk_space(const Twine &Path) {
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;