fix build break

pull/1435/head
Darien Raymond 2018-11-21 10:52:07 +01:00
parent 14c2d415d2
commit b2cbc369ac
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -23,5 +23,5 @@ func putPacketBuffer(buf *[]byte) {
}
func init() {
bufferPool = bytespool.GetPool(protocol.MaxReceivePacketSize)
bufferPool = bytespool.GetPool(int32(protocol.MaxReceivePacketSize))
}