chore(test): fix test files compilation on 32-bit archs (#465)#470
Merged
matthewmcneely merged 1 commit intodgraph-io:mainfrom Dec 10, 2025
Merged
chore(test): fix test files compilation on 32-bit archs (#465)#470matthewmcneely merged 1 commit intodgraph-io:mainfrom
matthewmcneely merged 1 commit intodgraph-io:mainfrom
Conversation
|
|
1df4a39 to
3081d43
Compare
src/github.com/dgraph-io/ristretto/sketch_test.go:67:8: cannot use 12 << 30 (untyped int constant 12884901888) as int value in assignment (overflows) src/github.com/dgraph-io/ristretto/store_test.go:209:23: cannot use 4340958203495 (untyped int constant) as int value in argument to z.KeyToHash (overflows)
3081d43 to
d5fd4d1
Compare
matthewmcneely
approved these changes
Dec 10, 2025
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Use int64 as suggested in #465 for variables holding >2^31 values.
Checklist
CHANGELOG.mdfile describing and linking tothis PR
Instructions
syntax, leading with
fix:,feat:,chore:,ci:, etc.link to the bug.
[x]syntax.back and check the box later.
Instructionsline and everything below it, to indicate you have read and arefollowing these instructions. 🙂
Thank you for your contribution to Ristretto!