[td-225] fix variable overflow bug.

This commit is contained in:
Haojun Liao 2020-06-01 14:19:19 +08:00
parent a75dca9574
commit 7ed62985f9
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ typedef struct tMemBucket {
int32_t nTotalBufferSize; int32_t nTotalBufferSize;
int32_t maxElemsCapacity; int32_t maxElemsCapacity;
int16_t pageSize; int32_t pageSize;
int16_t numOfTotalPages; int16_t numOfTotalPages;
int16_t numOfAvailPages; /* remain available buffer pages */ int16_t numOfAvailPages; /* remain available buffer pages */