Fixed an off-by-one error (reported by Greg King - thanks).
git-svn-id: svn://svn.cc65.org/cc65/trunk@3996 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
9cafacaf6d
commit
cb1870de74
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue