diff --git a/strings.c b/strings.c --- a/strings.c +++ b/strings.c @@ -763,7 +763,7 @@ static char *FormatString(char *buff, co // Each LEN is printed using 2 bytes in big endian order. uint num = (byte)*str++; while (num) { - if (str[0] == casei) { + if ((byte)str[0] == casei) { // Found the case, adjust str pointer and continue str += 3; break;