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-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 318993cb7b
commit 384e59ea98
+2 -2
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: