summaryrefslogtreecommitdiff
path: root/output/outdbg.c
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:56:25 -0700
commita3d96d02b054b0caeb938fbdc40b2911b2beafed (patch)
treec459f98f02b907b45b66e878a657138cdba0eb57 /output/outdbg.c
parentcd133a6f2d7c9f72db6fc1ca730aa8e02340a4ef (diff)
downloadnasm-a3d96d02b054b0caeb938fbdc40b2911b2beafed.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/outdbg.c')
-rw-r--r--output/outdbg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/output/outdbg.c b/output/outdbg.c
index 70f8e375..c9b60e7e 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)