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(sqlite): do not cast pointers to i32 #1160

Merged
merged 1 commit into from
Apr 9, 2021
Merged

fix(sqlite): do not cast pointers to i32 #1160

merged 1 commit into from
Apr 9, 2021

Conversation

link2xt
Copy link
Contributor

@link2xt link2xt commented Apr 8, 2021

64-bit pointers can't be casted to i32 correctly.

It does not seem to cause problems on amd64 as long as both pointers
reside in the same page, but it's not correct generally.

64-bit pointers can't be casted to i32 correctly.

It does not seem to cause problems on amd64 as long as both pointers
reside in the same page, but it's not correct generally.
@mehcode
Copy link
Member

mehcode commented Apr 9, 2021

Doh. 🤦 Thanks for the fix.

@mehcode mehcode merged commit f488f53 into launchbadge:master Apr 9, 2021
@link2xt link2xt deleted the pointer-usize branch April 9, 2021 09:12
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