]> git.sur5r.net Git - cc65/commitdiff
Fix a warning.
authorlaubzega <mileksmyk@gmail.com>
Sat, 29 Sep 2018 05:17:49 +0000 (22:17 -0700)
committerOliver Schmidt <ol.sc@web.de>
Tue, 2 Oct 2018 16:49:53 +0000 (18:49 +0200)
src/cc65/stmt.c

index 0c891c386a5501f318f455547c263817557b0a91..a9552ba964483526f52090d0a8e53bc1f88aae3d 100644 (file)
@@ -513,7 +513,7 @@ static int CompoundStatement (void)
 
     /* Remember the stack at block entry */
     int OldStack = StackPtr;
-    long OldBlockStackSize = CollCount (&CurrentFunc->LocalsBlockStack);
+    unsigned OldBlockStackSize = CollCount (&CurrentFunc->LocalsBlockStack);
 
     /* Enter a new lexical level */
     EnterBlockLevel ();