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

satisfy compiler's concern about mixed signed/unsigned comparison #20

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

mars-risc0
Copy link
Contributor

BitVector api uses ints for index values, but capacity is a size_t, so we need a cast to make it happy (and I added a guarding assertion)

@mars-risc0 mars-risc0 enabled auto-merge (squash) August 26, 2024 18:23
@mars-risc0 mars-risc0 force-pushed the mars/fix-mixedsign-comparison branch from fa09beb to db607d4 Compare August 26, 2024 19:15
@mars-risc0 mars-risc0 merged commit 22eb426 into main Aug 27, 2024
7 checks passed
@mars-risc0 mars-risc0 deleted the mars/fix-mixedsign-comparison branch August 27, 2024 16:59
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