CResourceEntry: Eliminate sign conversion warning

This commit is contained in:
Lioncash 2020-06-19 19:03:27 -04:00
parent 92fe105e82
commit 1adb20dc0b
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ bool CResourceEntry::IsInDirectory(CVirtualDirectory *pDir) const
uint64 CResourceEntry::Size() const
{
if (mCachedSize == -1)
if (mCachedSize == UINT64_MAX)
{
if (HasCookedVersion())
mCachedSize = FileUtil::FileSize(CookedAssetPath());