Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proc_stat_test.go: architecture dependent MinInt and MaxInt constants
to avoid `math.MinInt64` and `math.MaxInt64` overflowing `int` type when running `TestProcStatLimits` on 32bit architectures: ``` ./proc_stat_test.go:97:49: cannot use math.MinInt64 (untyped int constant -9223372036854775808) as int value in struct literal (overflows) ./proc_stat_test.go:98:51: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in struct literal (overflows) ``` Fixes: prometheus#432 Signed-off-by: Tim Rots <tim.rots@protonmail.ch>
- Loading branch information