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:
parent
40f96faff8
commit
846f2b4cb1
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in New Issue