- changed FString API to use ptrdiff_t instead of long for signed size arguments.

This commit is contained in:
Christoph Oelckers 2021-08-12 00:45:59 +02:00
commit c3772fe203
18 changed files with 102 additions and 102 deletions

View file

@ -762,7 +762,7 @@ int FIWadManager::IdentifyVersion (TArray<FString> &wadfiles, const char *iwad,
FString path;
if (info.Load[i][0] != ':')
{
long lastslash = picks[pick].mFullPath.LastIndexOf('/');
auto lastslash = picks[pick].mFullPath.LastIndexOf('/');
if (lastslash == -1)
{