RPGHacker / asar

(Now) official repository of the SNES assembler Asar, originally created by Alcaro
Other
199 stars 42 forks source link

Fix bitness dependency #213

Closed Alcaro closed 3 years ago

Alcaro commented 3 years ago

strtoul gives one result on 64bit Unix, and another result on everything else (both 32bit Unix and 64bit Windows), for nine-digit inputs (for example dd $FFFFFFFF00000000>>16). strtoull will give the same result for everything.

strtoull is in C99 and C++11, so it should exist on every compiler we care about.

coveralls commented 3 years ago

Coverage Status

Coverage remained the same at 81.567% when pulling 368c9a14d6883e59939b5d484ee25503e96d2e98 on Alcaro:patch-4 into 92593354759e2bda84ed70d37f3685110443e94f on RPGHacker:master.