Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion object-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ int format_object_header(char *str, size_t size, enum object_type type,
}

int check_object_signature(struct repository *r, const struct object_id *oid,
void *buf, unsigned long size,
void *buf, size_t size,
enum object_type type)
{
const struct git_hash_algo *algo =
Expand Down
2 changes: 1 addition & 1 deletion object-file.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ int format_object_header(char *str, size_t size, enum object_type type,
* what we expected, but it might also indicate another error.
*/
int check_object_signature(struct repository *r, const struct object_id *oid,
void *map, unsigned long size,
void *map, size_t size,
enum object_type type);

/**
Expand Down