1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 21:29:03 +00:00

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:
uz 2009-08-05 14:29:30 +00:00
parent 9cafacaf6d
commit cb1870de74

View 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");
}