Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bwachter opened this issue Jan 22, 2023 · 0 comments
Open

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

bwachter opened this issue Jan 22, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bwachter
Copy link

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.

@bwachter bwachter added the bug Something isn't working label Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants