strtol returns a long, which on 32bit x86 is shorter than the hex numbers used for colours. The relevant variables are defined wide enough (uint64_t), so just switching to strtoll makes things work. Not sure if this is worth changing, mainly filing this for documentation purposes.
Please describe the bug
strtol returns a long, which on 32bit x86 is shorter than the hex numbers used for colours. The relevant variables are defined wide enough (uint64_t), so just switching to strtoll makes things work. Not sure if this is worth changing, mainly filing this for documentation purposes.