Re: [U-Boot] [PATCH 1/8] video/console: Fix DM_VIDEO font glyph array indexing

2019-04-09 Thread Anatolij Gustschin
On Sat, 23 Mar 2019 01:29:55 + Andre Przywara andre.przyw...@arm.com wrote: > When the character to be printed on a DM_VIDEO console is from the > "extended ASCII" range (0x80 - 0xff), it will be treated as a negative > number, as it's declared as a signed char. This leads to negative array >

Re: [U-Boot] [PATCH 1/8] video/console: Fix DM_VIDEO font glyph array indexing

2019-03-30 Thread Simon Glass
Hi Andre, On Fri, 22 Mar 2019 at 19:32, Andre Przywara wrote: > > When the character to be printed on a DM_VIDEO console is from the > "extended ASCII" range (0x80 - 0xff), it will be treated as a negative > number, as it's declared as a signed char. This leads to negative array > indicies into t

[U-Boot] [PATCH 1/8] video/console: Fix DM_VIDEO font glyph array indexing

2019-03-22 Thread Andre Przywara
When the character to be printed on a DM_VIDEO console is from the "extended ASCII" range (0x80 - 0xff), it will be treated as a negative number, as it's declared as a signed char. This leads to negative array indicies into the glyph bitmap array, and random garbled characters. Cast the character