summaryrefslogtreecommitdiff
path: root/output
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-06-15 17:51:39 -0700
committerH. Peter Anvin <hpa@zytor.com>2018-06-15 17:57:15 -0700
commit79561027a08c3d673152775524cf713c80a82323 (patch)
tree2219b3ba19637844ed2b9cce160c3ce2f907bdd9 /output
parent675618c5dd670ea719d3c418e3d1d275b600b05f (diff)
downloadnasm-79561027a08c3d673152775524cf713c80a82323.tar.gz
Make limits 64 bits, add globallines limit to configurable limits
Make all limit counters 64 bits, in case someone really has a usage for an insanely large program. The globallines limit was omitted, add it to the list of configurable limits. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output')
-rw-r--r--output/outdbg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/output/outdbg.c b/output/outdbg.c
index 84cccf73..a28e85f7 100644
--- a/output/outdbg.c
+++ b/output/outdbg.c
@@ -75,7 +75,8 @@ static void dbg_init(void)
static void dbg_reset(void)
{
- fprintf(ofile, "*** pass reset: pass0 = %d, passn = %d\n", pass0, passn);
+ fprintf(ofile, "*** pass reset: pass0 = %d, passn = %"PRId64"\n",
+ pass0, passn);
}
static void dbg_cleanup(void)