Skip to content

Commit

Permalink
Fix invalid size calculation for large files
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderSade committed Jul 22, 2019
1 parent 030f8cf commit 97f6d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DirLister.Core/Application/FileReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ private FileEntry GetFileEntry(string fullPath, WIN32_FIND_DATAW findData)
var fileEntry = new FileEntry
{
Fullname = fullPath,
Size = findData.nFileSizeLow,
Size = (long) (uint)findData.nFileSizeHigh << 0x20 | (uint)findData.nFileSizeLow
};

if (_configuration.IncludeFileDates)
Expand Down

0 comments on commit 97f6d46

Please sign in to comment.