From f0a9dfc37e4e13d4e697f5d15facb0b905747e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 24 Nov 2020 17:52:05 +0100 Subject: [PATCH] Resolve conversion from int to char --- Meter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meter.c b/Meter.c index 4da98e56..b4795499 100644 --- a/Meter.c +++ b/Meter.c @@ -393,7 +393,7 @@ static void LEDMeterMode_draw(Meter* this, int x, int y, int w) { int xx = x + strlen(this->caption); int len = RichString_sizeVal(out); for (int i = 0; i < len; i++) { - char c = RichString_getCharVal(out, i); + int c = RichString_getCharVal(out, i); if (c >= '0' && c <= '9') { LEDMeterMode_drawDigit(xx, y, c - 48); xx += 4;