diff options
author | 2018-03-15 16:21:22 +0000 | |
---|---|---|
committer | 2018-03-15 16:21:22 +0000 | |
commit | bd14cfcab81675150cf03d5f50dff7460f220268 (patch) | |
tree | 6e81522e3393aedb74f70ba40105586e18dd5f0a | |
parent | Add fake pthread_self and pthread_equal to libstubs (diff) | |
download | wireguard-openbsd-bd14cfcab81675150cf03d5f50dff7460f220268.tar.xz wireguard-openbsd-bd14cfcab81675150cf03d5f50dff7460f220268.zip |
Fix a format string issue that Go 1.10 complains about.
-rw-r--r-- | regress/lib/libtls/gotls/tls.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/lib/libtls/gotls/tls.go b/regress/lib/libtls/gotls/tls.go index 961dde13081..be75e71f4fb 100644 --- a/regress/lib/libtls/gotls/tls.go +++ b/regress/lib/libtls/gotls/tls.go @@ -31,7 +31,7 @@ type ProtocolVersion uint32 func (pv ProtocolVersion) String() string { name, ok := protocolNames[pv] if !ok { - return fmt.Sprintf("unknown protocol version %x", pv) + return fmt.Sprintf("unknown protocol version %x", uint32(pv)) } return name } |