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-09-30 03:49:07 +01:00 committed by Tim Edwards
parent 9295240047
commit a307e9d052
1 changed files with 1 additions and 1 deletions

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++) {