GOARCH=386 no longer supported #325

Closed
howbazaar opened this Issue Aug 23, 2016 · 1 comment

Comments

Projects
None yet
2 participants

howbazaar commented Aug 23, 2016

$ GOOS=windows GOARCH=386 go build ./...
# gopkg.in/mgo.v2/bson
./json.go:320: constant 9007199254740992 overflows int

This can be remedied by changing line 321 to cast the int n to int64

    if int64(n) <= 1<<53 {
Contributor

niemeyer commented Aug 24, 2016

See #310 and #311.

@niemeyer niemeyer closed this Aug 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment