From 7bc70a590db6ed3069d52aa38d59938e7955901b Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Thu, 27 Apr 2006 22:48:27 -0700 Subject: [PATCH] cache-tree.c: typefix Signed-off-by: Junio C Hamano --- cache-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache-tree.c b/cache-tree.c index a10902fd3..28b78f88e 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); -- 2.26.2