diff --git a/src/util/src/tlosertree.c b/src/util/src/tlosertree.c index da078f353a720aaf24bf38190f147c0c6c6e3b06..2974dba89065d423c97ebcc564f08cc419f9babf 100644 --- a/src/util/src/tlosertree.c +++ b/src/util/src/tlosertree.c @@ -101,7 +101,7 @@ void tLoserTreeAdjust(SLoserTreeInfo* pTree, int32_t idx) { * but the first element in SLoserTreeNode is int32_t * and the comparFn get data as *(int32_t*)(void *), so it is just ok. */ - int32_t ret = pTree->comparFn(&pCur, &kLeaf, pTree->param); + int32_t ret = pTree->comparFn(pCur, &kLeaf, pTree->param); if (ret < 0) { SLoserTreeNode t = pTree->pNode[parentId]; pTree->pNode[parentId] = kLeaf;