mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 18:52:07 +00:00
`char` has implementation-defined signedness, and if it's chosen to be unsigned, then -1 gets converted to 255, which is then promoted back to `int` as... 255, always failing the loop condition in src/link/main.c:118 `int8_t` has the correct signedness, but considering `musl_getopt_long_only` returns `int`, better use that so as not to lose any bits
5.2 KiB
5.2 KiB