diff --git a/vendor/github.com/lucas-clemente/quic-go/buffer_pool.go b/vendor/github.com/lucas-clemente/quic-go/buffer_pool.go index aa8fc9fbc..a5fd38ca6 100644 --- a/vendor/github.com/lucas-clemente/quic-go/buffer_pool.go +++ b/vendor/github.com/lucas-clemente/quic-go/buffer_pool.go @@ -23,5 +23,5 @@ func putPacketBuffer(buf *[]byte) { } func init() { - bufferPool = bytespool.GetPool(protocol.MaxReceivePacketSize) + bufferPool = bytespool.GetPool(int32(protocol.MaxReceivePacketSize)) }