diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-11-24 17:52:05 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2020-12-05 19:58:32 +0100 |
commit | f0a9dfc37e4e13d4e697f5d15facb0b905747e15 (patch) | |
tree | 209103458a48eec41660bca7bbf10dac46e4ae51 /Meter.c | |
parent | 1e9b18436723fb0ed3f899f3901d60f1bb3143b8 (diff) |
Resolve conversion from int to char
Diffstat (limited to 'Meter.c')
-rw-r--r-- | Meter.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |