This commit is contained in:
Hongze Cheng 2022-01-02 10:06:00 +00:00
parent 17852c2c43
commit bac6f05b96
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ static FORCE_INLINE int tDecodeCStrAndLen(SCoder* pDecoder, const char** val, ui
if (tDecodeU64v(pDecoder, len) < 0) return -1;
if (TD_CODER_CHECK_CAPACITY_FAILED(pDecoder, *len + 1)) return -1;
*val = (char *)TD_CODER_CURRENT(pDecoder);
*val = (char*)TD_CODER_CURRENT(pDecoder);
TD_CODER_MOVE_POS(pDecoder, *len + 1);
return 0;