clean up math varsize complaints

This commit is contained in:
AzaezelX 2023-04-27 16:10:04 -05:00
parent 1230d0d280
commit 0ce2da3a23
30 changed files with 61 additions and 56 deletions

View file

@ -902,7 +902,7 @@ void GuiInspectorTypeCommand::_setCommand( GuiButtonCtrl *ctrl, StringTableEntry
S32 written = dSprintf( szBuffer, len, "%s(\"", mTextEditorCommand );
expandEscape(szBuffer.address() + written, command);
written = strlen(szBuffer);
written = (S32)strlen(szBuffer);
dSprintf( szBuffer.address() + written, len - written, "\", \"%d.apply\", %d.getRoot());", getId(), getId() );
ctrl->setField( "Command", szBuffer );