-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Cast results of len to uint32 to fix compilation in i386 arch. #961
Conversation
GOARCH=386 go build ./ passes with this change and fails without it due to integer overflow. Fixes #953
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on @ashish-goswami, @golangcibot, and @manishrjain)
table/builder.go, line 176 at r1 (raw file):
Previously, golangcibot (Bot from GolangCI) wrote…
line is 101 characters (from
lll
)
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r3.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @ashish-goswami, @golangcibot, and @martinmr)
GOARCH=386 go build ./ passes with this change and fails without it due to integer overflow. Fixes #953
GOARCH=386 go build ./ passes with this change and fails without it due
to integer overflow.
Fixes #953
This change is