Closed earboxer closed 8 months ago
On 32-bit systems, 'long' is only 32 bits (and 'long long' is 64 bits).
stol
stoll
#ifdef
On 32-bit systems, 'long' is only 32 bits (and 'long long' is 64 bits).
the INT64_C macro: see https://stackoverflow.com/questions/65406823/is-there-a-portable-literal-suffix-for-int64-t-and-similar-typesto an explicit cast to Hyprlang::INT.stol
were switched tostoll
to fix them (in theory, it would be better to but this in an#ifdef
to usestol
on 64 bit systems, andstoll
on 32 bit systems, but it doesn't seem to hurt the 64-bit systems)