mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
resis/ResDebug.c: %.2f Wrong type of arguments to formatting function
Applied same fix as other patch for line below; Copilot Autofix: did not infer the same fix for same vaiable from line next to it. CodeQL: https://github.com/dlmiles/magic/security/code-scanning/158
This commit is contained in:
committed by
Tim Edwards
parent
d1dc038cb7
commit
aa703a67b7
+1
-1
@@ -80,7 +80,7 @@ ResPrintResistorList(fp, list)
|
||||
for (; list != NULL; list = list->rr_nextResistor)
|
||||
{
|
||||
if (fp == stdout)
|
||||
TxPrintf("r (%d,%d) (%d,%d) r=%d\n",
|
||||
TxPrintf("r (%d,%d) (%d,%d) r=%.2f\n",
|
||||
list->rr_connection1->rn_loc.p_x,
|
||||
list->rr_connection1->rn_loc.p_y,
|
||||
list->rr_connection2->rn_loc.p_x,
|
||||
|
||||
Reference in New Issue
Block a user