Browse Source

fix build break

Darien Raymond 7 năm trước cách đây
mục cha
commit
b2cbc369ac
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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))
 }