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

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

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:57 +01:00 committed by Tim Edwards
parent 318993cb7b
commit 384e59ea98
1 changed files with 2 additions and 2 deletions

View File

@ -328,8 +328,8 @@ PlowTest(w, cmd)
return;
}
TiToRect(tp, &area2);
TxPrintf("Splitting tile 0x%x at y=%d yielding 0x%x\n",
tp, editArea.r_ybot, plowSplitY(tp, editArea.r_ybot));
TxPrintf("Splitting tile %p at y=%d yielding %p\n",
(void *)tp, editArea.r_ybot, (void *)plowSplitY(tp, editArea.r_ybot));
DBWAreaChanged(def, &area2, DBW_ALLWINDOWS, &DBAllButSpaceBits);
break;
case PC_MERGEDOWN: