From: Junio C Hamano Date: Sun, 30 Apr 2006 07:26:41 +0000 (-0700) Subject: builtin-diff.c: die() formatting type fix. X-Git-Tag: v1.4.0-rc1~184^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=334b506a3487f762493d3db2d3053114f25590e3;p=git.git builtin-diff.c: die() formatting type fix. Signed-off-by: Junio C Hamano --- 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;