mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 17:15:13 +02:00
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:
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
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user