diff --git a/src/common/inc/tdataformat.h b/src/common/inc/tdataformat.h index 149f90fc1fb1e778d05234370b5823708defe357..ba9196c52a4f1a37698461a74f198ea4c7d186a6 100644 --- a/src/common/inc/tdataformat.h +++ b/src/common/inc/tdataformat.h @@ -557,7 +557,7 @@ static FORCE_INLINE int tdAddColToKVRow(SKVRowBuilder *pBuilder, int16_t colId, pBuilder->nCols++; - char *jumpType = value; + char* jumpType = (char*)value; if(isJumpJsonVType) jumpType += CHAR_BYTES; int tlen = IS_VAR_DATA_TYPE(type) ? varDataTLen(jumpType) : TYPE_BYTES[type]; if (tlen > pBuilder->alloc - pBuilder->size) {