Browse Source

fix build break

Darien Raymond 7 years ago
parent
commit
b2cbc369ac
1 changed files with 1 additions and 1 deletions
  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() {
 func init() {
-	bufferPool = bytespool.GetPool(protocol.MaxReceivePacketSize)
+	bufferPool = bytespool.GetPool(int32(protocol.MaxReceivePacketSize))
 }
 }