From 8845e71161bfffbb4eea7bf4957fa226e31dc29a Mon Sep 17 00:00:00 2001 From: laubzega Date: Fri, 28 Sep 2018 22:25:22 -0700 Subject: [PATCH] Another warning. --- src/cc65/symtab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);