summaryrefslogtreecommitdiff
path: root/builtin-diff.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-30 00:26:41 -0700
committerJunio C Hamano <junkio@cox.net>2006-04-30 00:26:41 -0700
commit334b506a3487f762493d3db2d3053114f25590e3 (patch)
tree54bdb48e33e0ce9ad20efa1c6182e618bc67c448 /builtin-diff.c
parent0fe7c1de16f71312e6adac4b85bddf0d62a47168 (diff)
downloadgit-334b506a3487f762493d3db2d3053114f25590e3.tar.gz
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 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;