From 1adb20dc0b0d2e6e154029d47c332a8046b3e76b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 19 Jun 2020 19:03:27 -0400 Subject: [PATCH] CResourceEntry: Eliminate sign conversion warning --- src/Core/GameProject/CResourceEntry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/GameProject/CResourceEntry.cpp b/src/Core/GameProject/CResourceEntry.cpp index 3332d333..ec53a239 100644 --- a/src/Core/GameProject/CResourceEntry.cpp +++ b/src/Core/GameProject/CResourceEntry.cpp @@ -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());