Merge pull request #1025 from Azaezel/alpha41/unsignedunmangle

fix strrepeat <0
This commit is contained in:
Brian Roberts 2023-06-02 10:46:04 -05:00 committed by GitHub
commit 687fd97ce0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -738,7 +738,7 @@ DefineEngineFunction( strrepeat, const char*, ( const char* str, S32 numTimes, c
{ {
StringBuilder result; StringBuilder result;
bool isFirst = false; bool isFirst = false;
for( U32 i = 0; i < numTimes; ++ i ) for( S32 i = 0; i < numTimes; ++ i )
{ {
if( !isFirst ) if( !isFirst )
result.append( delimiter ); result.append( delimiter );