mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 02:32:06 +00:00
Consistently use UINT32_MAX, not -1, for uint32_t values
This commit is contained in:
@@ -169,7 +169,7 @@ static Symbol &createSymbol(std::string const &symName) {
|
||||
sym.section = nullptr;
|
||||
sym.src = fstk_GetFileStack();
|
||||
sym.fileLine = sym.src ? lexer_GetLineNo() : 0;
|
||||
sym.ID = -1;
|
||||
sym.ID = UINT32_MAX;
|
||||
sym.defIndex = nextDefIndex++;
|
||||
|
||||
return sym;
|
||||
|
||||
Reference in New Issue
Block a user