Documentation updates.
[gitweb.git] / sha1_file.c
index fa37f1e3ef97c7a35ec9eb4cd71ba7fda5e53055..64eac592bbf191b2c97ccf8739fdb0d4712d7788 100644 (file)
@@ -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;