提交 183fed1a 编写于 作者: H Haojun Liao

fix(query): fix syntax error on windows.

上级 90c1e734
......@@ -318,7 +318,7 @@ SArray* taosArrayDup(const SArray* pSrc, __array_item_dup_fn_t fn) {
for(int32_t i = 0; i < pSrc->size; ++i) {
void* p = fn(taosArrayGetP(pSrc, i));
memcpy(dst->pData + i * dst->elemSize, &p, dst->elemSize);
memcpy(((char*)dst->pData )+ i * dst->elemSize, &p, dst->elemSize);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册