- changed FString API to use ptrdiff_t instead of long for signed size arguments.
This commit is contained in:
parent
1d96b68e1a
commit
c3772fe203
18 changed files with 102 additions and 102 deletions
|
|
@ -1546,7 +1546,7 @@ bool FileSystem::CreatePathlessCopy(const char *name, int id, int /*flags*/)
|
|||
if (lump < 0) return false; // Does not exist.
|
||||
|
||||
auto oldlump = FileInfo[lump];
|
||||
int slash = oldlump.longName.LastIndexOf('/');
|
||||
ptrdiff_t slash = oldlump.longName.LastIndexOf('/');
|
||||
|
||||
if (slash == -1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue