From a307e9d0523b5526f772b190111af621b7a14afc Mon Sep 17 00:00:00 2001 From: Darryl Miles Date: Mon, 30 Sep 2024 03:49:07 +0100 Subject: [PATCH] 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> --- textio/txCommands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textio/txCommands.c b/textio/txCommands.c index 04f0eaea..e1926338 100644 --- a/textio/txCommands.c +++ b/textio/txCommands.c @@ -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++) {