plow/PlowTest.c: Wrong type of arguments to formatting function

Fix code scanning alert no. 103: Wrong type of arguments to formatting function (#28)

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
Darryl Miles 2024-09-30 04:49:43 +01:00 committed by Tim Edwards
parent 82aa62e65d
commit 318993cb7b
1 changed files with 2 additions and 2 deletions

View File

@ -307,8 +307,8 @@ PlowTest(w, cmd)
tp = TiSrPointNoHint(plane, &editArea.r_ll);
if (cmd->tx_argc == 3) trail = atoi(cmd->tx_argv[2]);
else trail = editArea.r_xtop;
TxPrintf("Trailing coordinate of tile 0x%x updated from %d to %d\n",
tp, TRAILING(tp), trail);
TxPrintf("Trailing coordinate of tile %p updated from %d to %d\n",
(void *)tp, TRAILING(tp), trail);
plowSetTrailing(tp, trail);
break;
case PC_MOVE: