[TD-225]fix compiler error.

This commit is contained in:
Haojun Liao 2021-01-23 15:10:30 +08:00
parent f1657736e1
commit 7da756f2c0
1 changed files with 1 additions and 1 deletions

View File

@ -2121,7 +2121,7 @@ static int32_t doGetExternalRow(STsdbQueryHandle* pQueryHandle, int16_t type, SM
}
// prepare the structure
int32_t numOfCols = QH_GET_NUM_OF_COLS(pQueryHandle);
int32_t numOfCols = (int32_t) QH_GET_NUM_OF_COLS(pQueryHandle);
if (type == TSDB_PREV_ROW) {
pQueryHandle->prev = taosArrayInit(numOfCols, sizeof(SColumnInfoData));