mirror of https://github.com/cc65/cc65.git
Update lynxsprite.c
Remove compiler warning about (signed) char wrapping around to -1 when set to 255.
This commit is contained in:
parent
128b15a71e
commit
1f9594560e
|
@ -312,7 +312,7 @@ static void AssembleByte(unsigned bits, char val)
|
||||||
static unsigned char AnalyseNextChunks(signed *newlen, signed len, char data[32], char ColorBits)
|
static unsigned char AnalyseNextChunks(signed *newlen, signed len, char data[32], char ColorBits)
|
||||||
{
|
{
|
||||||
char longest = 1;
|
char longest = 1;
|
||||||
char prev = 255;
|
unsigned char prev = 255;
|
||||||
char count = 0;
|
char count = 0;
|
||||||
char index = 0;
|
char index = 0;
|
||||||
char lindex = 0;
|
char lindex = 0;
|
||||||
|
|
Loading…
Reference in New Issue