From 82aa62e65d248912de2dc850e71ebdc9ebb562d2 Mon Sep 17 00:00:00 2001 From: Darryl Miles Date: Mon, 30 Sep 2024 04:49:16 +0100 Subject: [PATCH] database/DBcellsrch.c: Wrong type of arguments to formatting function Fix code scanning alert no. 66: Wrong type of arguments to formatting function (#33) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- database/DBcellsrch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/DBcellsrch.c b/database/DBcellsrch.c index c5a2e400..ed08f7b7 100644 --- a/database/DBcellsrch.c +++ b/database/DBcellsrch.c @@ -1621,7 +1621,7 @@ dbTileScaleFunc(tile, scvals) if ((targetRect.r_xtop - targetRect.r_xbot == 0) || (targetRect.r_ytop - targetRect.r_ybot == 0)) { - TxPrintf("Tile 0x%x at (%d, %d) has zero area after scaling: Removed.\n", + TxPrintf("Tile %p at (%d, %d) has zero area after scaling: Removed.\n", tile, targetRect.r_xbot, targetRect.r_ybot); return 0; }