summaryrefslogtreecommitdiff
path: root/builtin-diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-30 07:26:41 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-30 07:26:41 (GMT)
commit334b506a3487f762493d3db2d3053114f25590e3 (patch)
tree54bdb48e33e0ce9ad20efa1c6182e618bc67c448 /builtin-diff.c
parent0fe7c1de16f71312e6adac4b85bddf0d62a47168 (diff)
downloadgit-334b506a3487f762493d3db2d3053114f25590e3.zip
git-334b506a3487f762493d3db2d3053114f25590e3.tar.gz
git-334b506a3487f762493d3db2d3053114f25590e3.tar.bz2
builtin-diff.c: die() formatting type fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-diff.c')
-rw-r--r--builtin-diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-diff.c b/builtin-diff.c
index c543105..b6114ce 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;