mirror of
https://github.com/cc65/cc65.git
synced 2025-02-12 06:30:42 +00:00
goto.c warning fix for implicit truncation
This commit is contained in:
parent
392e6e10fc
commit
1a5fa6dc51
@ -100,7 +100,7 @@ void GotoStatement (void)
|
|||||||
ConsumeLBrack ();
|
ConsumeLBrack ();
|
||||||
|
|
||||||
if (CurTok.Tok == TOK_ICONST) {
|
if (CurTok.Tok == TOK_ICONST) {
|
||||||
val = CurTok.IVal;
|
val = (unsigned char)CurTok.IVal;
|
||||||
NextToken ();
|
NextToken ();
|
||||||
|
|
||||||
if (CPUIsets[CPU] & CPU_ISET_65SC02) {
|
if (CPUIsets[CPU] & CPU_ISET_65SC02) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user