Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Compilation fails on 32-bit systems. #35

Open
abarisani opened this issue Dec 20, 2019 · 0 comments
Open

Compilation fails on 32-bit systems. #35

abarisani opened this issue Dec 20, 2019 · 0 comments

Comments

@abarisani
Copy link

The sndSsthresh variable, defined as int, overflows with assignment math.MaxInt64 on 32-bit systems.

This currently prevents compilation on arm/32-bit systems, which has to be worked around by defining the variable as int32 or assigning a non overflowing 32-bit value (which is probably the wrong thing to do).

Error:

go/pkg/mod/github.com/google/[email protected]/tcpip/transport/tcp/snd.go:269:16: constant 9223372036854775807 overflows int

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant