From 4a9fce1952b2b4742bd07bc5137c75b0225d56ab Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 28 Mar 2019 15:30:18 +0100 Subject: all: fix warnings pointed to by golangci-lint Update #977 --- prog/export_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prog/export_test.go') diff --git a/prog/export_test.go b/prog/export_test.go index a49d094ef..d5c67ac70 100644 --- a/prog/export_test.go +++ b/prog/export_test.go @@ -32,7 +32,7 @@ func initTargetTest(t *testing.T, os, arch string) *Target { } func randSource(t *testing.T) rand.Source { - seed := int64(time.Now().UnixNano()) + seed := time.Now().UnixNano() if os.Getenv("TRAVIS") != "" { seed = 0 // required for deterministic coverage reports } -- cgit mrf-deployment