提交 334b506a 编写于 作者: J Junio C Hamano

builtin-diff.c: die() formatting type fix.

Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 0fe7c1de
......@@ -307,7 +307,7 @@ int cmd_diff(int argc, const char **argv, char **envp)
if (!strcmp(obj->type, tree_type)) {
if (ARRAY_SIZE(ent) <= ents)
die("more than %d trees given: '%s'",
ARRAY_SIZE(ent), name);
(int) ARRAY_SIZE(ent), name);
obj->flags |= flags;
ent[ents].item = obj;
ent[ents].name = name;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册