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 --- pkg/csource/csource_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/csource/csource_test.go') diff --git a/pkg/csource/csource_test.go b/pkg/csource/csource_test.go index 773ff2ed8..75e451b9b 100644 --- a/pkg/csource/csource_test.go +++ b/pkg/csource/csource_test.go @@ -60,7 +60,7 @@ func TestGenerate(t *testing.T) { } func testTarget(t *testing.T, target *prog.Target, full bool) { - seed := int64(time.Now().UnixNano()) + seed := time.Now().UnixNano() if os.Getenv("TRAVIS") != "" { seed = 0 // required for deterministic coverage reports } -- cgit mrf-deployment