From 9096946a124ddedcda09ac6b7b489fb3f31ae108 Mon Sep 17 00:00:00 2001 From: Darryl Miles Date: Mon, 30 Sep 2024 06:53:23 +0100 Subject: [PATCH] windows/windDebug.c: Wrong type of arguments to formatting function Fix code scanning alert no. 130: Wrong type of arguments to formatting function (#43) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- windows/windDebug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/windDebug.c b/windows/windDebug.c index d6c1844a..feccaf59 100644 --- a/windows/windDebug.c +++ b/windows/windDebug.c @@ -54,7 +54,7 @@ windPrintWindow(w) LinkedRect *lr; TxPrintf("\nWindow %d: '%s'\n", w->w_wid, w->w_caption); - TxPrintf(" Client %x Surface %x \n", w->w_client, w->w_surfaceID); + TxPrintf(" Client %lx Surface %lx \n", w->w_client, w->w_surfaceID); TxPrintf(" All area (%d, %d) (%d, %d)\n", w->w_allArea.r_xbot, w->w_allArea.r_ybot,