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

Fix char bug so opt parsing doesn't infinite loop #49

Merged
merged 2 commits into from
May 8, 2023

Conversation

ddxtanx
Copy link
Contributor

@ddxtanx ddxtanx commented May 8, 2023

After some debugging, I found out that on the changed line some systems always have c != -1 where c is a char. This is solved by comparing against 255 instead, allowing options to be parsed on Asahi linux.

@GhostNaN GhostNaN merged commit 61ec53d into GhostNaN:master May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants