提交 ace875c8 编写于 作者: sangshuduo's avatar sangshuduo

change type to int32_t to comply with refactoring rules.

上级 0a26f0d1
......@@ -97,7 +97,7 @@ int vnodeRenewCommitLog(int vnode) {
void vnodeRemoveCommitLog(int vnode) { remove(vnodeList[vnode].logOFn); }
int vnodeRestoreDataFromLog(int vnode, char *fileName, uint64_t *firstV) {
int32_t vnodeRestoreDataFromLog(int vnode, char *fileName, uint64_t *firstV) {
int fd, ret;
char * cont = NULL;
size_t totalLen = 0;
......@@ -204,7 +204,7 @@ _error:
}
int vnodeInitCommit(int vnode) {
size_t size = 0;
int32_t size = 0;
uint64_t firstV = 0;
SVnodeObj *pVnode = vnodeList + vnode;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册