1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00

goto.c warning fix for implicit truncation

This commit is contained in:
Brad Smith 2019-05-01 02:45:51 -04:00 committed by Oliver Schmidt
parent 392e6e10fc
commit 1a5fa6dc51

View File

@ -100,7 +100,7 @@ void GotoStatement (void)
ConsumeLBrack ();
if (CurTok.Tok == TOK_ICONST) {
val = CurTok.IVal;
val = (unsigned char)CurTok.IVal;
NextToken ();
if (CPUIsets[CPU] & CPU_ISET_65SC02) {