[td-225] fix bugs in display data

This commit is contained in:
Haojun Liao 2020-06-27 17:08:20 +08:00
parent 04ad350559
commit 1d3a13b4c9
1 changed files with 1 additions and 1 deletions

View File

@ -884,7 +884,7 @@ void tsBufDisplay(STSBuf* pTSBuf) {
while (tsBufNextPos(pTSBuf)) { while (tsBufNextPos(pTSBuf)) {
STSElem elem = tsBufGetElem(pTSBuf); STSElem elem = tsBufGetElem(pTSBuf);
printf("%d-%" PRId64 "-%" PRId64 "\n", elem.vnode, *(int64_t*) elem.tag, elem.ts); printf("%d-%" PRId64 "-%" PRId64 "\n", elem.vnode, elem.tag, elem.ts);
} }
pTSBuf->cur.order = old; pTSBuf->cur.order = old;