Skip to content

fix(buffers): Avoid dependency on platform-specific machine word size #1096

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

Merged
2 commits merged into from
Oct 28, 2019

Conversation

ghost
Copy link

@ghost ghost commented Oct 25, 2019

Currently there is one place in LevelDB-related code that implicitly assumes that usize is 64-bit. This PR fixes it by using mem::size_of.

Ref #1054

@ghost ghost changed the title fix(portability): Avoid dependency on platform-specific machine word size fix(buffers): Avoid dependency on platform-specific machine word size Oct 25, 2019
@ghost ghost added domain: buffers Anything related to Vector's memory/disk buffers and removed domain: buffers Anything related to Vector's memory/disk buffers labels Oct 25, 2019
@ghost ghost merged commit ccae97b into master Oct 28, 2019
@ghost ghost deleted the support-32-bit-architectures branch October 29, 2019 17:13
This pull request was closed.
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