diff --git a/source/common/searchpaths.cpp b/source/common/searchpaths.cpp index 818643b52..839deabe5 100644 --- a/source/common/searchpaths.cpp +++ b/source/common/searchpaths.cpp @@ -264,7 +264,7 @@ TArray CollectAllFilesInSearchPath() FileReader fr; if (fr.OpenFile(userConfig.gamegrp)) { - FileEntry fe = { userConfig.gamegrp, (uintmax_t)fr.GetLength(), 0, 0, index++ }; + FileEntry fe = { userConfig.gamegrp, (size_t)fr.GetLength(), 0, 0, index++ }; filelist.Push(fe); } }