Browse Source

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

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
334b506a34
  1. 2
      builtin-diff.c

2
builtin-diff.c

@ -307,7 +307,7 @@ int cmd_diff(int argc, const char **argv, char **envp)
if (!strcmp(obj->type, tree_type)) { if (!strcmp(obj->type, tree_type)) {
if (ARRAY_SIZE(ent) <= ents) if (ARRAY_SIZE(ent) <= ents)
die("more than %d trees given: '%s'", die("more than %d trees given: '%s'",
ARRAY_SIZE(ent), name); (int) ARRAY_SIZE(ent), name);
obj->flags |= flags; obj->flags |= flags;
ent[ents].item = obj; ent[ents].item = obj;
ent[ents].name = name; ent[ents].name = name;

Loading…
Cancel
Save