2025-04-30 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up numerous compiler warnings.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2025-04-30 10:48:18 -04:00
parent 619aa915e7
commit 11867fdd48
32 changed files with 118 additions and 204 deletions

View File

@@ -326,7 +326,7 @@ void VGuest::processCommand(RDMacro *cmd)
return;
}
label=cmd->rollupArgs(5).left(VGUEST_MAX_TEXT_LENGTH);
sprintf(buffer,"\x02%c\x5C%c%c%c%c%c%c%c%s",8+label.length(),
sprintf(buffer,"\x02%c\x5C%c%c%c%c%c%c%c%s",8+(uint8_t)label.length(),
(char)vguest_displays_engine_nums[cmd->arg(1).toInt()-1],
(char)(vguest_displays_device_nums[cmd->arg(1).toInt()-1]>>8),
(char)(vguest_displays_device_nums[cmd->arg(1).toInt()-1]&0xFF),