X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=sha1_file.c;h=64eac592bbf191b2c97ccf8739fdb0d4712d7788;hb=bc6146d2abcf3800eb3683cfe972cabd38ff4796;hp=fa37f1e3ef97c7a35ec9eb4cd71ba7fda5e53055;hpb=c7c81b3a51de2778535c8bb18d42a4bb7dfd57bc;p=git.git diff --git a/sha1_file.c b/sha1_file.c index fa37f1e3..64eac592 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -487,7 +487,7 @@ struct packed_git *parse_pack_index(unsigned char *sha1) return parse_pack_index_file(sha1, path); } -struct packed_git *parse_pack_index_file(unsigned char *sha1, char *idx_path) +struct packed_git *parse_pack_index_file(const unsigned char *sha1, char *idx_path) { struct packed_git *p; unsigned long idx_size;