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 /builtin-diff.c | |
parent | 0fe7c1de16f71312e6adac4b85bddf0d62a47168 (diff) | |
download | git-334b506a3487f762493d3db2d3053114f25590e3.tar.gz git-334b506a3487f762493d3db2d3053114f25590e3.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-diff.c b/builtin-diff.c index c543105b8..b6114ce94 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; |