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

Compile error #7

Closed
f0cii opened this issue Oct 9, 2018 · 1 comment
Closed

Compile error #7

f0cii opened this issue Oct 9, 2018 · 1 comment
Assignees
Labels

Comments

@f0cii
Copy link

f0cii commented Oct 9, 2018

Build like this:

SET CGO_ENABLED=0
SET GOOS=windows
SET GOARCH=386
go build

Got an error.
.\connector.go:45:25: constant 9223372036854775807 overflows uint.\connector.go:45:25: constant 9223372036854775807 overflows uint

it should be like this in line 45:
cfg.ReconnectAttempts = math.MaxUint32

@f0cii f0cii changed the title Compile error in 32 bit Compile error Oct 9, 2018
@furdarius
Copy link
Owner

Wow, really, didn't tested library on windows and for 32bit systems. Thank your for issue!
Have no laptop around me now, so I'll fix it on the next week.

@furdarius furdarius self-assigned this Oct 9, 2018
@furdarius furdarius added the bug label Oct 9, 2018
furdarius added a commit that referenced this issue Oct 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants