- fixed warnings.
This commit is contained in:
parent
32e0123e1b
commit
0c0cb6d69c
2 changed files with 7 additions and 7 deletions
|
|
@ -397,7 +397,7 @@ void FString::Remove(size_t index, size_t remlen)
|
|||
if (Data()->RefCount == 1)
|
||||
{ // Can do this in place
|
||||
memmove(Chars + index, Chars + index + remlen, Len() - index - remlen);
|
||||
Data()->Len -= remlen;
|
||||
Data()->Len -= (unsigned)remlen;
|
||||
}
|
||||
else
|
||||
{ // Must do it in a copy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue