From 6400b915f30e202704f5b21eb809dbc8b703a431 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Wed, 10 Mar 2021 16:13:44 +0800 Subject: [PATCH] [td-2895] fix compiler. --- src/query/src/qFill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/src/qFill.c b/src/query/src/qFill.c index ef4176471b..810140e8f3 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; -- GitLab