diff options
author | Junio C Hamano <junkio@cox.net> | 2006-04-30 00:26:41 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-30 00:26:41 -0700 |
commit | 334b506a3487f762493d3db2d3053114f25590e3 (patch) | |
tree | 54bdb48e33e0ce9ad20efa1c6182e618bc67c448 | |
parent | built-in diff: assorted updates. (diff) | |
download | tgif-334b506a3487f762493d3db2d3053114f25590e3.tar.xz |
builtin-diff.c: die() formatting type fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r-- | builtin-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-diff.c b/builtin-diff.c index c543105b8e..b6114ce948 100644 --- a/builtin-diff.c +++ b/builtin-diff.c @@ -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; |