diff --git a/src/client/src/tscSubquery.c b/src/client/src/tscSubquery.c index 321fad8ed1d4a97831406e96a3b0e19ccc795958..a374e311f17c0cc2ebc7e51644b04fcf739dc65c 100644 --- a/src/client/src/tscSubquery.c +++ b/src/client/src/tscSubquery.c @@ -1956,7 +1956,7 @@ void tscFirstRoundRetrieveCallback(void* param, TAOS_RES* tres, int numOfRows) { SBufferWriter bw = tbufInitWriter(NULL, false); interResToBinary(&bw, pSup->pResult, pSup->tagLen); - pQueryInfo1->bufLen = tbufTell(&bw); + pQueryInfo1->bufLen = (int32_t) tbufTell(&bw); pQueryInfo1->buf = tbufGetData(&bw, true); // set the serialized binary string as the parameter of arithmetic expression