mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 01:43:00 +02:00
gcr/gcrDebug.c: Wrong type of arguments to formatting function
Fix code scanning alert no. 97: Wrong type of arguments to formatting function (#41) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
committed by
Tim Edwards
co-authored by
Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
parent
fc20977fa5
commit
4ddd0624cb
+1
-1
@@ -107,7 +107,7 @@ GCRRouteFromFile(fname)
|
||||
(void) GCRroute(ch);
|
||||
times(&tbuf2);
|
||||
TxPrintf("Time : %5.2fu %5.2fs\n", (tbuf2.tms_utime -
|
||||
tbuf1.tms_utime)/60.0, (tbuf2.tms_stime-tbuf1.tms_stime)*60);
|
||||
tbuf1.tms_utime)/60.0, (double)(tbuf2.tms_stime-tbuf1.tms_stime)*60);
|
||||
|
||||
gcrDumpResult(ch, GcrShowEnd);
|
||||
gcrShowMap(ch);
|
||||
|
||||
Reference in New Issue
Block a user