summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libtls/gotls/tls.go2
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
}