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:
Darryl Miles 2024-09-30 07:16:10 +01:00 committed by Tim Edwards
parent 846f2b4cb1
commit d8b886aa1d
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ DebugSet(clientID, argc, argv, value)
if (id < 0 || id >= debugNumClients)
{
TxError("DebugSet: bad client id %d\n", clientID);
TxError("DebugSet: bad client id %lu\n", (unsigned long)clientID);
return;
}
dc = &debugClients[id];