From 17d16d071804afcc3934534a9dd7addcc5b345fe Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Thu, 4 Jun 2015 18:18:48 +0000 Subject: [PATCH] [SHELL32] fix reported disk size svn path=/trunk/; revision=68015 --- reactos/dll/win32/shell32/folders/CDrivesFolder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/dll/win32/shell32/folders/CDrivesFolder.cpp b/reactos/dll/win32/shell32/folders/CDrivesFolder.cpp index 1ec5469949c..0a5fa1476ed 100644 --- a/reactos/dll/win32/shell32/folders/CDrivesFolder.cpp +++ b/reactos/dll/win32/shell32/folders/CDrivesFolder.cpp @@ -793,7 +793,7 @@ HRESULT WINAPI CDrivesFolder::GetDetailsOf(PCUITEMID_CHILD pidl, UINT iColumn, S { _ILSimpleGetText (pidl, szPath, MAX_PATH); GetDiskFreeSpaceExA (szPath, NULL, &ulBytes, NULL); - StrFormatByteSizeA (ulBytes.LowPart, psd->str.cStr, MAX_PATH); + StrFormatByteSize64A (ulBytes.QuadPart, psd->str.cStr, MAX_PATH); } break; case 3: /* free size */ @@ -801,7 +801,7 @@ HRESULT WINAPI CDrivesFolder::GetDetailsOf(PCUITEMID_CHILD pidl, UINT iColumn, S { _ILSimpleGetText (pidl, szPath, MAX_PATH); GetDiskFreeSpaceExA (szPath, &ulBytes, NULL, NULL); - StrFormatByteSizeA (ulBytes.LowPart, psd->str.cStr, MAX_PATH); + StrFormatByteSize64A (ulBytes.QuadPart, psd->str.cStr, MAX_PATH); } break; }