commit 0ae6992089461b5bce8485256bbe7b42537f5195
parent b2d6aa5fce4cd233350f4853475297c44a780621
Author: Andrew Alderwick <andrew@alderwick.co.uk>
Date: Fri, 18 Feb 2022 23:01:46 +0000
(uxnasm) Fix calculation of usage.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/uxnasm.c b/src/uxnasm.c
@@ -408,7 +408,7 @@ review(char *filename)
"Assembled %s in %d bytes(%.2f%% used), %d labels, %d macros.\n",
filename,
p.length - TRIM,
- p.length / 652.80,
+ (p.length - TRIM) / 652.80,
p.llen,
p.mlen);
}