提交 dcb64f4e 编写于 作者: H hzcheng

TD-166

上级 5bbe41eb
...@@ -283,7 +283,7 @@ void dataColSetOffset(SDataCol *pCol, int nEle, int maxPoints) { ...@@ -283,7 +283,7 @@ void dataColSetOffset(SDataCol *pCol, int nEle, int maxPoints) {
char *tptr = (char *)(pCol->pData) + sizeof(int32_t) * maxPoints; char *tptr = (char *)(pCol->pData) + sizeof(int32_t) * maxPoints;
for (int i = 0; i < nEle; i++) { for (int i = 0; i < nEle; i++) {
((int32_t *)(pCol->pData))[i] = tptr - (char *)(pCol->pData); ((int32_t *)(pCol->pData))[i] = tptr - (char *)(pCol->pData);
tptr = tptr + *(int16_t *)tptr; tptr = tptr + *(int16_t *)tptr + sizeof(int16_t);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册