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:
parent
82aa62e65d
commit
318993cb7b
|
|
@ -307,8 +307,8 @@ PlowTest(w, cmd)
|
||||||
tp = TiSrPointNoHint(plane, &editArea.r_ll);
|
tp = TiSrPointNoHint(plane, &editArea.r_ll);
|
||||||
if (cmd->tx_argc == 3) trail = atoi(cmd->tx_argv[2]);
|
if (cmd->tx_argc == 3) trail = atoi(cmd->tx_argv[2]);
|
||||||
else trail = editArea.r_xtop;
|
else trail = editArea.r_xtop;
|
||||||
TxPrintf("Trailing coordinate of tile 0x%x updated from %d to %d\n",
|
TxPrintf("Trailing coordinate of tile %p updated from %d to %d\n",
|
||||||
tp, TRAILING(tp), trail);
|
(void *)tp, TRAILING(tp), trail);
|
||||||
plowSetTrailing(tp, trail);
|
plowSetTrailing(tp, trail);
|
||||||
break;
|
break;
|
||||||
case PC_MOVE:
|
case PC_MOVE:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue