diff --git a/src/os/windows/FSNodeWINDOWS.cxx b/src/os/windows/FSNodeWINDOWS.cxx index 2a544917f..ef251da01 100644 --- a/src/os/windows/FSNodeWINDOWS.cxx +++ b/src/os/windows/FSNodeWINDOWS.cxx @@ -184,6 +184,7 @@ void FSNodeWINDOWS::addFile(AbstractFSList& list, ListMode mode, if (entry._isDirectory) entry._path += FSNode::PATH_SEPARATOR; entry._isPseudoRoot = false; + entry._size = find_data.nFileSizeHigh * (static_cast(MAXDWORD) + 1) + find_data.nFileSizeLow; list.emplace_back(make_shared(entry)); }