]> git.sur5r.net Git - cc65/blobdiff - src/cc65/asmlabel.c
Change the OptStackOps function so that it adjusts the instruction pointer
[cc65] / src / cc65 / asmlabel.c
index 216541b1181c4185a3c1a69a8efd33b9debf2531..fe76f2b855b4d47952b4e99516bfb893d515eed9 100644 (file)
@@ -58,7 +58,7 @@ unsigned GetLocalLabel (void)
     static unsigned NextLabel = 0;
 
     /* Check for an overflow */
-    if (NextLabel > 0xFFFF) {
+    if (NextLabel >= 0xFFFF) {
         Internal ("Local label overflow");
     }