resis/ResDebug.c: Wrong type of arguments to formatting function
Fix code scanning alert no. 109: Wrong type of arguments to formatting function (#27) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
6946ea6845
commit
9f39380b6a
|
|
@ -87,7 +87,7 @@ ResPrintResistorList(fp, list)
|
|||
list->rr_connection2->rn_loc.p_y,
|
||||
list->rr_value);
|
||||
else
|
||||
fprintf(fp, "r (%d,%d) (%d,%d) r=%d\n",
|
||||
fprintf(fp, "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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue