[td-2895] refactor.

This commit is contained in:
Haojun Liao 2021-03-10 16:41:56 +08:00
parent 6400b915f3
commit ac08e23b89
1 changed files with 1 additions and 1 deletions

View File

@ -454,7 +454,7 @@ void taosFillCopyInputDataFromOneFilePage(SFillInfo* pFillInfo, const tFilePage*
pFillInfo->alloc = (int32_t)pInput->num;
}
memcpy(pFillInfo->pData[i], data, pCol->col.bytes * pInput->num);
memcpy(pFillInfo->pData[i], data, (size_t)(pCol->col.bytes * pInput->num));
if (TSDB_COL_IS_TAG(pCol->flag)) { // copy the tag value to tag value buffer
SFillTagColInfo* pTag = &pFillInfo->pTags[pCol->tagIndex];