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

UINT64_MAX loses precision when passed to and from lua. #6

Open
waldnercharles opened this issue Sep 28, 2024 · 0 comments
Open

UINT64_MAX loses precision when passed to and from lua. #6

waldnercharles opened this issue Sep 28, 2024 · 0 comments

Comments

@waldnercharles
Copy link
Contributor

b2DefaultFilter() sets b2Filter.maskBits = 0xFFFFFFFFFFFFFFFF, but after passing it to and from Lua, C++ receives it as 0x8000000000000000

This might be the case for other unsigned types as well, but I haven't tested yet.

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

No branches or pull requests

1 participant