From 9f39380b6ae504c047ad793c124daa3a5b27406e Mon Sep 17 00:00:00 2001 From: Darryl Miles Date: Mon, 30 Sep 2024 04:51:21 +0100 Subject: [PATCH] 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> --- resis/ResDebug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resis/ResDebug.c b/resis/ResDebug.c index 2eb210cc..cd393f0a 100644 --- a/resis/ResDebug.c +++ b/resis/ResDebug.c @@ -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,