From 917a04ce669065e734775e43ef1197721f56d2f9 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Thu, 8 Jun 2017 23:31:10 +1000 Subject: [PATCH] Use correct printf format for current_numeric --- source/numbers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/numbers.c b/source/numbers.c index cc950da..1c74e21 100644 --- a/source/numbers.c +++ b/source/numbers.c @@ -81,7 +81,7 @@ char *numeric_banner(void) static char thing[4]; if (!get_int_var(SHOW_NUMERICS_VAR)) return (thing_ansi?thing_ansi:empty_string); - snprintf(thing, sizeof thing, "%3.3u", -current_numeric); + snprintf(thing, sizeof thing, "%3.3d", -current_numeric); return (thing); }