diff --git a/src/query/src/qFill.c b/src/query/src/qFill.c index ef4176471b31217c9ae8d7cab9fa403f353dbc4a..810140e8f354f2521f8592a2db90adb001c6020e 100644 --- a/src/query/src/qFill.c +++ b/src/query/src/qFill.c @@ -447,7 +447,7 @@ void taosFillCopyInputDataFromOneFilePage(SFillInfo* pFillInfo, const tFilePage* const char* data = pInput->data + pCol->col.offset * pInput->num; if (pInput->num > pFillInfo->alloc) { - char* t = realloc(pFillInfo->pData[i], pCol->col.bytes * pInput->num); + char* t = realloc(pFillInfo->pData[i], (size_t)(pCol->col.bytes * pInput->num)); assert(t != NULL); pFillInfo->pData[i] = t;