From: Bas Wassink Date: Sun, 24 Mar 2019 20:41:00 +0000 (+0100) Subject: Forgot a cast, sorry X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=41e449b306ca207052a481e7be505a4fc490708c;p=cc65 Forgot a cast, sorry --- diff --git a/src/cc65/symtab.c b/src/cc65/symtab.c index 02b7f0501..56196ea5a 100644 --- a/src/cc65/symtab.c +++ b/src/cc65/symtab.c @@ -671,7 +671,7 @@ DefOrRef* AddDefOrRef (SymEntry* E, unsigned Flags) DOR = xmalloc (sizeof (DefOrRef)); CollAppend (E->V.L.DefsOrRefs, DOR); DOR->Line = GetCurrentLine (); - DOR->LocalsBlockId = CollLast (&CurrentFunc->LocalsBlockStack); + DOR->LocalsBlockId = (long)CollLast (&CurrentFunc->LocalsBlockStack); DOR->Flags = Flags; DOR->StackPtr = StackPtr; DOR->Depth = CollCount (&CurrentFunc->LocalsBlockStack);