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

Set HIDD_ATTRIBUTES size with ULONG value according to definition #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

whitone
Copy link

@whitone whitone commented Aug 28, 2016

Building for Windows, I got the following error:

hid_windows.go:194: cannot use C.DWORD(unsafe.Sizeof(attrs)) (type C.DWORD) as type C.ULONG in assignment

So I changed DWORD to ULONG according to HIDD_ATTRIBUTES size definition as in MSDN docs.

@whitone whitone force-pushed the master branch 2 times, most recently from d44598d to 91526b0 Compare July 16, 2018 06:56
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