Explorar el Código

fix build break

Darien Raymond hace 7 años
padre
commit
b2cbc369ac
Se han modificado 1 ficheros con 1 adiciones y 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))
 }