mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
grouter/grouteMaze.c: Wrong type of arguments to formatting function
* Fix code scanning alert no. 99: Wrong type of arguments to formatting function Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Update grouteMaze.c --------- 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
77c1082886
commit
cf90d50999
@@ -26,6 +26,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||
#endif /* not lint */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include "utils/magic.h"
|
||||
#include "utils/geometry.h"
|
||||
#include "utils/geofast.h"
|
||||
@@ -595,10 +596,10 @@ glPathPrint(path)
|
||||
pin = rp->gl_pin;
|
||||
ch = pin->gcr_ch;
|
||||
tp = rp->gl_tile;
|
||||
TxPrintf("(%d,%d) cost=%d pcost=%d pId=%d/%d\n",
|
||||
TxPrintf("(%d,%d) cost=%d pcost=%d pId=%ld/%d\n",
|
||||
pin->gcr_point.p_x, pin->gcr_point.p_y,
|
||||
rp->gl_cost, pin->gcr_cost,
|
||||
pin->gcr_pId, pin->gcr_pSeg);
|
||||
(intmax_t) pin->gcr_pId, pin->gcr_pSeg);
|
||||
TxPrintf("\tchan=(%d,%d,%d,%d)/%d\n",
|
||||
ch->gcr_area.r_xbot, ch->gcr_area.r_ybot,
|
||||
ch->gcr_area.r_xtop, ch->gcr_area.r_ytop,
|
||||
|
||||
Reference in New Issue
Block a user