X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=sha1_file.c;h=64eac592bbf191b2c97ccf8739fdb0d4712d7788;hb=96768e3108f76a20699b23f7a1218949144b2394;hp=fa37f1e3ef97c7a35ec9eb4cd71ba7fda5e53055;hpb=10d781b9caa4f71495c7b34963bef137216f86a8;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;