mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Consistently use UINT32_MAX, not -1, for uint32_t values
This commit is contained in:
@@ -1702,7 +1702,7 @@ sect_org:
|
||||
}
|
||||
| LBRACK uconst RBRACK {
|
||||
$$ = $2;
|
||||
if ($$ < 0 || $$ >= 0x10000) {
|
||||
if ($$ < 0 || $$ > 0xFFFF) {
|
||||
::error("Address $%x is not 16-bit\n", $$);
|
||||
$$ = -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user