debug/debugFlags.c: Wrong type of arguments to formatting function

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

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 07:15:46 +01:00 committed by Tim Edwards
parent 40f96faff8
commit 846f2b4cb1
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ DebugAddFlag(clientID, name)
if (id < 0 || id >= debugNumClients)
{
TxError("DebugAddFlag: bad client id %d (flag %s)\n", clientID, name);
TxError("DebugAddFlag: bad client id %lu (flag %s)\n", clientID, name);
return (0);
}
@ -165,7 +165,7 @@ DebugShow(clientID)
if (id < 0 || id >= debugNumClients)
{
TxError("DebugShow: bad client id %d\n", clientID);
TxError("DebugShow: bad client id %lu\n", clientID);
return;
}
dc = &debugClients[id];