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 invalid pointer - integer comparison warning #127

Merged

Conversation

MisterDA
Copy link
Contributor

@MisterDA MisterDA commented Oct 4, 2021

On Windows, HANDLE is a void*. The value for the invalid handle is
roughly (HANDLE)(-1), so just cast the value to avoid a warning.

On Windows, HANDLE is a void*. The value for the invalid handle is
roughly (HANDLE)(-1), so just cast the value to avoid a warning.
@aantron aantron merged commit e103e73 into aantron:master Nov 8, 2021
@aantron
Copy link
Owner

aantron commented Nov 8, 2021

Thank you!

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.

2 participants