cache-tree.c: typefix

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2006-04-27 22:48:27 -07:00
parent d2cb7c6e93
commit 7bc70a590d

View File

@ -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);