From: laubzega Date: Sat, 29 Sep 2018 05:25:22 +0000 (-0700) Subject: Another warning. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8845e71161bfffbb4eea7bf4957fa226e31dc29a;p=cc65 Another warning. --- diff --git a/src/cc65/symtab.c b/src/cc65/symtab.c index 5ca2d4967..9a34de0dc 100644 --- a/src/cc65/symtab.c +++ b/src/cc65/symtab.c @@ -731,7 +731,7 @@ SymEntry* AddLabelSym (const char* Name, unsigned Flags) has automatic storage duration? Let's emit a warning. */ if ((long)CollLast (AIC) != DOR->LocalsBlockId && (CollCount (AIC) >= DOR->Depth || - (long)CollLast (AIC) >= DOR->Line)) + (long)CollLast (AIC) >= (long)DOR->Line)) Warning ("Goto at line %d to label %s jumps into a block with " "initialization of an object that has automatic storage duration.", DOR->Line, Name);