fix type conversion

pull/299/merge v2.29
Darien Raymond 2017-05-26 03:02:13 +02:00
parent b16a82024c
commit 10bc421af9
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ func init() {
}
size := f.GetValueAsInt(getDefaultPoolSize())
if size > 0 {
totalByteSize := size * 1024 * 1024
totalByteSize := uint32(size) * 1024 * 1024
mediumPool = NewBufferPool(Size, totalByteSize/Size)
} else {
mediumPool = NewSyncPool(Size)