Skip to content

src/github.com/veraison/go-cose/headers_test.go:40:27: cannot use math.MinInt64 (untyped int constant -9223372036854775808) as int value in map literal (overflows) #220

@jas4711

Description

@jas4711

What is the areas you experience the issue in?

Go-COSE Library

What is not working as expected?

Build fails on 32-bit archs such as i386:

dh_auto_test 
	cd _build && go test -vet=off -v -p 2 github.com/veraison/go-cose
# github.com/veraison/go-cose [github.com/veraison/go-cose.test]
src/github.com/veraison/go-cose/headers_test.go:40:27: cannot use math.MinInt64 (untyped int constant -9223372036854775808) as int value in map literal (overflows)
FAIL	github.com/veraison/go-cose [build failed]

https://salsa.debian.org/jas/golang-github-veraison-go-cose/-/jobs/8529184

What did you expect to happen?

Success

How can we reproduce it?

Build on any 32-bit arch.

Describe your environment

Debian i386 sid

What is the version of your Go-COSE Library?

1.3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions