@matheusbsbs / matheus-bagliano / commits / 334b506a34
Fork 0

builtin-diff.c: die() formatting type fix.

Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Apr 30, 2006 at 00:26 UTC 334b506a3487f762493d3db2d3053114f25590e3
1 file changed +1 -1
builtin-diff.c
+1 -1
@@ -307,7 +307,7 @@ int cmd_diff(int argc, const char **argv, char **envp)
307 if (!strcmp(obj->type, tree_type)) {
308 if (ARRAY_SIZE(ent) <= ents)
309 die("more than %d trees given: '%s'",
310 - ARRAY_SIZE(ent), name);
310 + (int) ARRAY_SIZE(ent), name);
311 obj->flags |= flags;
312 ent[ents].item = obj;
313 ent[ents].name = name;