- 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
|
|
@ -533,7 +533,7 @@ FString BuildString (int argc, FString *argv)
|
|||
else if (strchr(argv[arg], '"'))
|
||||
{ // If it contains one or more quotes, we need to escape them.
|
||||
buf << '"';
|
||||
long substr_start = 0, quotepos;
|
||||
ptrdiff_t substr_start = 0, quotepos;
|
||||
while ((quotepos = argv[arg].IndexOf('"', substr_start)) >= 0)
|
||||
{
|
||||
if (substr_start < quotepos)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue