Skip to content

Fix overflow for build targets with 32-bit pointers #2

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
merged 1 commit into from
Jan 23, 2021

Conversation

Rizziepit
Copy link
Collaborator

Using usize for dataset size and derived values causes an overflow error for 32-bit build targets, e.g. WASM.

As an aside, rust-ethereum#10 would have made this bug trivial to discover and solve

@Rizziepit Rizziepit requested review from vgeddes and musnit January 23, 2021 01:52
@Rizziepit Rizziepit merged commit e7df4de into master Jan 23, 2021
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.

1 participant