mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 01:24:51 +02:00
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:
committed by
Tim Edwards
co-authored by
Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
parent
846f2b4cb1
commit
d8b886aa1d
+1
-1
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user