From d8b886aa1dbe4b58e9b5c3cece9c4ed77d77b820 Mon Sep 17 00:00:00 2001 From: Darryl Miles Date: Mon, 30 Sep 2024 07:16:10 +0100 Subject: [PATCH] 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> --- debug/debugFlags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug/debugFlags.c b/debug/debugFlags.c index 12e00f32..9a71b392 100644 --- a/debug/debugFlags.c +++ b/debug/debugFlags.c @@ -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];