mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-07 18:25:14 +00:00
exp5438: do not use char as array index
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user