diff --git a/src/vnode/src/vnodeWrite.c b/src/vnode/src/vnodeWrite.c index a0c772f5409ed7b231e2e655c849037f81f7c67e..35c2ab72dfdf55f66b1095c757fc4f90656c842b 100644 --- a/src/vnode/src/vnodeWrite.c +++ b/src/vnode/src/vnodeWrite.c @@ -170,7 +170,7 @@ static int32_t vnodeProcessSubmitMsg(SVnodeObj *pVnode, void *pCont, SRspRet *pR static int32_t vnodeCheckWal(SVnodeObj *pVnode) { if (pVnode->isCommiting == 0) { - return tsdbCheckWal(pVnode->tsdb, walGetFSize(pVnode->wal) >> 20); + return tsdbCheckWal(pVnode->tsdb, (uint32_t)(walGetFSize(pVnode->wal) >> 20)); } return 0; }