Code

cache-tree.c: typefix
authorJunio C Hamano <junkio@cox.net>
Fri, 28 Apr 2006 05:48:27 +0000 (22:48 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 28 Apr 2006 05:48:27 +0000 (22:48 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
cache-tree.c

index a10902fd3050356529b26af7257de9eb2ab1623d..28b78f88effe9ea766ff780fc948592c5fab51bf 100644 (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);