Remove a few compiler warnings
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
这个提交包含在:
父节点
6df9c7028a
当前提交
0835ffefb8
3
shared.c
3
shared.c
@ -308,7 +308,8 @@ static int load_mmfile(mmfile_t *file, const unsigned char *sha1)
|
||||
file->ptr = (char *)"";
|
||||
file->size = 0;
|
||||
} else {
|
||||
file->ptr = read_sha1_file(sha1, &type, &file->size);
|
||||
file->ptr = read_sha1_file(sha1, &type,
|
||||
(unsigned long *)&file->size);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户