- 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
|
|
@ -435,7 +435,7 @@ void FStringTable::InsertString(int lumpnum, int langid, FName label, const FStr
|
|||
{
|
||||
const char *strlangid = (const char *)&langid;
|
||||
TableElement te = { fileSystem.GetFileContainer(lumpnum), { string, string, string, string } };
|
||||
long index;
|
||||
ptrdiff_t index;
|
||||
while ((index = te.strings[0].IndexOf("@[")) >= 0)
|
||||
{
|
||||
auto endindex = te.strings[0].IndexOf(']', index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue