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

Explicitly cast the result of malloc to fix compile error #1

Merged
merged 1 commit into from
Jul 6, 2018

Conversation

mark-grimes
Copy link
Contributor

Currently getting compiler errors like invalid conversion from 'void*' to 'hid_device* {aka hid_device_*}', so added explicit casts where appropriate.

I've also put in a pull request on the upstream project (signal11/hidapi#401) if you'd rather take from there.

@seneye seneye merged commit ea9f996 into seneye:master Jul 6, 2018
@mark-grimes mark-grimes deleted the explicitCastFromMalloc branch July 6, 2018 16:46
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