From 8f60ed472b2eb56253e3dd478afef85308d681c2 Mon Sep 17 00:00:00 2001 From: Darryl Miles Date: Mon, 30 Sep 2024 03:49:25 +0100 Subject: [PATCH] textio/txCommands.c: Wrong type of arguments to formatting function Fix code scanning alert no. 116: Wrong type of arguments to formatting function (#19) 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 e1926338..32b1c5ee 100644 --- a/textio/txCommands.c +++ b/textio/txCommands.c @@ -201,7 +201,7 @@ void TxPrintEvent(event) TxInputEvent *event; { - TxError("Input event at 0x%x\n ", event); + TxError("Input event at %p\n ", event); if (event->txe_button == TX_EOF) { TxError("EOF event"); } else if (event->txe_button == TX_BYPASS) {