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-10-01 12:36:12 -04:00
committed by Tim Edwards
co-authored by Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
parent 82aa62e65d
commit 318993cb7b
+2 -2
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: