Explorar o código

fix build break

Darien Raymond %!s(int64=7) %!d(string=hai) anos
pai
achega
b2cbc369ac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      vendor/github.com/lucas-clemente/quic-go/buffer_pool.go

+ 1 - 1
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))
 }