]> Cypherpunks repositories - gostls13.git/commit
misc/cgo/test: fix go vet warnings
authorIan Lance Taylor <iant@golang.org>
Tue, 13 Oct 2015 17:05:13 +0000 (10:05 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 13 Oct 2015 17:53:20 +0000 (17:53 +0000)
commit6e5ccce87f444545de14dff7190171f0b4b15a12
treea1d19278d056876b39a0eb8581e685156c74a92f
parent2d823fdebf850a3e9cf2c8deb69a41def61ce499
misc/cgo/test: fix go vet warnings

Fixes these warnings from go vet:
buildid_linux.go:25: no formatting directive in Fatalf call
callback.go:180: arg pc[i] for printf verb %p of wrong type: uintptr
env.go:34: possible misuse of unsafe.Pointer
issue7665.go:22: possible misuse of unsafe.Pointer

Change-Id: I83811b9c10c617139713a626b4a34ab05564d4fe
Reviewed-on: https://go-review.googlesource.com/15802
Reviewed-by: David Crawshaw <crawshaw@golang.org>
misc/cgo/test/buildid_linux.go
misc/cgo/test/callback.go
misc/cgo/test/env.go
misc/cgo/test/issue7665.go