From f809b2dfac1f0b02de2bfbff83239376ca5d4eb3 Mon Sep 17 00:00:00 2001 From: Darryl Miles Date: Mon, 30 Sep 2024 06:53:41 +0100 Subject: [PATCH] graphics/grTk1.c: Wrong type of arguments to formatting function Fix code scanning alert no. 98: Wrong type of arguments to formatting function (#44) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- graphics/grTk1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/grTk1.c b/graphics/grTk1.c index c1fd2060..7712d333 100644 --- a/graphics/grTk1.c +++ b/graphics/grTk1.c @@ -535,7 +535,7 @@ GrTkInit(dispType) } else { - TxPrintf("Using %s, VisualID 0x%x depth %d\n", + TxPrintf("Using %s, VisualID 0x%lx depth %d\n", visual_type[grvisual_get[gritems].class], grvisual_get[gritems].visualid, grvisual_get[gritems].depth);