utils/undo.c: Wrong type of arguments to formatting function
Fix code scanning alert no. 120: Wrong type of arguments to formatting function (#17) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
9f052c0e4d
commit
88a1a9b166
|
|
@ -910,8 +910,8 @@ undoPrintEvent(iup)
|
||||||
else
|
else
|
||||||
client_name = undoClientTable[iup->iue_type].uc_name;
|
client_name = undoClientTable[iup->iue_type].uc_name;
|
||||||
|
|
||||||
(void) TxPrintf("0x%x: \t%s \tf=0x%x \tb=0x%x\n",
|
(void) TxPrintf("%p: \t%s \tf=%p \tb=%p\n",
|
||||||
iup, client_name, iup->iue_forw, iup->iue_back);
|
(void *)iup, client_name, (void *)iup->iue_forw, (void *)iup->iue_back);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Print events forward from "iup". If n is 0 or negative, print to */
|
/* Print events forward from "iup". If n is 0 or negative, print to */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue