summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-04-28 01:36:52 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-04-28 01:36:52 -0700
commit1c57f53582a56257110a5cd14522ffdd8288b1a4 (patch)
treeb4de996303b28eacad342e6b91b4ac242a72f041
parentMerge branch 'jc/count' into next (diff)
parentcache-tree.c: typefix (diff)
downloadtgif-1c57f53582a56257110a5cd14522ffdd8288b1a4.tar.xz
Merge branch 'jc/cache-tree' into next
* jc/cache-tree: cache-tree.c: typefix
-rw-r--r--cache-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache-tree.c b/cache-tree.c
index a10902fd30..28b78f88ef 100644
--- a/cache-tree.c
+++ b/cache-tree.c
@@ -341,7 +341,7 @@ static int update_one(struct cache_tree *it,
}
if (dryrun) {
- char hdr[200];
+ unsigned char hdr[200];
int hdrlen;
write_sha1_file_prepare(buffer, offset, tree_type, it->sha1,
hdr, &hdrlen);