From ef1dfe625489a1a75fb78cd58d4050b4c66fd0ca Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 13 Jul 2021 06:00:21 -0400 Subject: [PATCH] fix regression in HUD from shift to PRIu64, whoops --- src/demo/hud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demo/hud.c b/src/demo/hud.c index f82c4cf3f..4c4e44c6e 100644 --- a/src/demo/hud.c +++ b/src/demo/hud.c @@ -393,7 +393,7 @@ hud_print_finished(elem* list){ if(ncplane_printf_yx(hud, line, 1, "%d", e->frames) < 0){ return -1; } - if(ncplane_printf_yx(hud, line, 7, "%"PRIu64".%03"PRIu64"jus", + if(ncplane_printf_yx(hud, line, 7, "%"PRIu64".%03"PRIu64"s", e->totalns / NANOSECS_IN_SEC, (e->totalns % NANOSECS_IN_SEC) / 1000000) < 0){ return -1;