diff --git a/src/common/src/tdataformat.c b/src/common/src/tdataformat.c index 5d1052d4fdd1facf898762ef23a8f25ff2d36063..6061b842094c085a5b46ad35db6d4d5aee3810df 100644 --- a/src/common/src/tdataformat.c +++ b/src/common/src/tdataformat.c @@ -780,7 +780,7 @@ void tdResetKVRowBuilder(SKVRowBuilder *pBuilder) { } SKVRow tdGetKVRowFromBuilder(SKVRowBuilder *pBuilder) { - uint16_t tlen = sizeof(SColIdx) * pBuilder->nCols + pBuilder->size; + int tlen = sizeof(SColIdx) * pBuilder->nCols + pBuilder->size; if (tlen == 0) return NULL; tlen += TD_KV_ROW_HEAD_SIZE;