ソースを参照

fix build break

Darien Raymond 7 年 前
コミット
b2cbc369ac
1 ファイル変更1 行追加1 行削除
  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))
 }