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