Skip to content

Colour selection doesn't work on 32bit x86 due to strtol #101

Open
@bwachter

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions