X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=sha1_file.c;h=82a01887c261676eb39fe72b108bfa56041d71f5;hb=refs%2Ftags%2Fv0.99.9j;hp=cd814d7233028952f14c149e330a36a5a0b517f3;hpb=60d64db4614b1007ca37c228923ec1964d5ad394;p=git.git diff --git a/sha1_file.c b/sha1_file.c index cd814d72..82a01887 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -424,7 +424,7 @@ struct packed_git *add_packed_git(char *path, int path_len, int local) struct packed_git *p; unsigned long idx_size; void *idx_map; - char sha1[20]; + unsigned char sha1[20]; if (check_packed_git_idx(path, &idx_size, &idx_map)) return NULL;