textio/txCommands.c: Wrong type of arguments to formatting function

Fix code scanning alert no. 115: Wrong type of arguments to formatting function (#20)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Darryl Miles
2024-10-01 12:36:12 -04:00
committed by Tim Edwards
co-authored by Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
parent 9295240047
commit a307e9d052
+1 -1
View File
@@ -255,7 +255,7 @@ TxPrintCommand(cmd)
int i, j;
char TxTemp[200];
TxError("Command at 0x%x\n ", cmd);
TxError("Command at %p\n ", cmd);
if (cmd->tx_button == TX_CHARACTER) {
TxError("Text command with %d words: ", cmd->tx_argc);
for (i = 0; i < cmd->tx_argc; i++) {