summaryrefslogtreecommitdiff
path: root/cache-tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-04-28 05:48:27 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-04-28 05:48:27 (GMT)
commit7bc70a590db6ed3069d52aa38d59938e7955901b (patch)
treea4a70482d0171f20de7f2d19886d26c239f982e0 /cache-tree.c
parentd2cb7c6e9303c082b406acc643018f51179e8b35 (diff)
downloadgit-7bc70a590db6ed3069d52aa38d59938e7955901b.zip
git-7bc70a590db6ed3069d52aa38d59938e7955901b.tar.gz
git-7bc70a590db6ed3069d52aa38d59938e7955901b.tar.bz2
cache-tree.c: typefix
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache-tree.c')
-rw-r--r--cache-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache-tree.c b/cache-tree.c
index a10902f..28b78f8 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);