go-wca
go-wca copied to clipboard
Use uint64 for pointer return vars
fixes #8
NOTE:
- I only tested the
mmdGetIdfix, but since the code in the other places is pretty much the same I'd expect it to work there as well. - I tried building my test app with
GOARCH=386and it still worked, so I guess uint64 with 32-bit pointers isn't a problem.
I confirm this works on Windows 64bit.
Maybe uintptr instead of uint64 should be more appropriate since it holds a pointer, regardless of the platform you are in:
uintptris an integer type that is large enough to hold the bit pattern of any pointer.
https://golang.org/pkg/builtin/#uintptr
@ThiefMaster I apologize for missing your contribution. I'm really sorry about that.
Though it's too late, thank you for your contribution. :bow: