- 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

@ -291,7 +291,7 @@ void FCommandBuffer::AddString(FString clip)
if (clip.IsNotEmpty())
{
// Only paste the first line.
long brk = clip.IndexOfAny("\r\n\b");
auto brk = clip.IndexOfAny("\r\n\b");
std::u32string build;
if (brk >= 0)
{