summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0fe7c1d)
raw | patch | inline | side by side (parent: 0fe7c1d)
author | Junio C Hamano <junkio@cox.net> | |
Sun, 30 Apr 2006 07:26:41 +0000 (00:26 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 30 Apr 2006 07:26:41 +0000 (00:26 -0700) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-diff.c | patch | blob | history |
diff --git a/builtin-diff.c b/builtin-diff.c
index c543105b8ef6192d20fb844e489164f0a39dbe30..b6114ce948bfcb68018fb9799bb26836957bb9c2 100644 (file)
--- a/builtin-diff.c
+++ b/builtin-diff.c
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;