mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-02-21 15:29:00 +00:00
exp5438: do not use char as array index
This commit is contained in:
parent
1957ecd94a
commit
45af3adab4
@ -792,7 +792,7 @@ void halLcdPrint(char String[], unsigned char TextStyle)
|
||||
|
||||
while (String[i] != 0) // Stop on null character
|
||||
{
|
||||
LookUpChar = fonts_lookup[String[i]];
|
||||
LookUpChar = fonts_lookup[(unsigned char)String[i]];
|
||||
|
||||
for (j = 0; j < FONT_HEIGHT; j++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user