debug/debugFlags.c: Wrong type of arguments to formatting function
Fix code scanning alert no. 67: Wrong type of arguments to formatting function (#45) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
846f2b4cb1
commit
d8b886aa1d
|
|
@ -208,7 +208,7 @@ DebugSet(clientID, argc, argv, value)
|
||||||
|
|
||||||
if (id < 0 || id >= debugNumClients)
|
if (id < 0 || id >= debugNumClients)
|
||||||
{
|
{
|
||||||
TxError("DebugSet: bad client id %d\n", clientID);
|
TxError("DebugSet: bad client id %lu\n", (unsigned long)clientID);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
dc = &debugClients[id];
|
dc = &debugClients[id];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue