From 98287f550d854e49f2c27f9de69d22b21afb86bc Mon Sep 17 00:00:00 2001 From: Martin Milata Date: Mon, 22 Apr 2024 23:28:59 +0200 Subject: [PATCH] fix(core): macos build with signed char [no changelog] --- core/embed/lib/terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/embed/lib/terminal.c b/core/embed/lib/terminal.c index 9a471aebc..55de08339 100644 --- a/core/embed/lib/terminal.c +++ b/core/embed/lib/terminal.c @@ -53,7 +53,7 @@ static uint64_t term_glyph_bits(char ch) { uint8_t bytes[8]; } result = {0}; - if (ch > ' ' && ch < 128) { + if (ch > ' ' && ch <= '~') { const uint8_t *b = &Font_Bitmap[(ch - ' ') * 5]; for (int y = 0; y < 7; y++) {