diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2018-03-15 16:21:23 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2018-03-15 16:21:23 +0000 |
commit | 57a6d491335dbc3d0ac197975e564d55a18403f3 (patch) | |
tree | 00a908aae8351697e2ff1b107e8ec130c29e3d39 /regress | |
parent | b7ad8a9e81e2dff3319a35dac6b7bff419a03801 (diff) |
Fix a format string issue that Go 1.10 complains about.
Diffstat (limited to 'regress')
-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 } |