Skip to content

Commit d3d5f3d

Browse files
dschoGit for Windows Build Agent
authored andcommitted
fixup??? object-file.c: use size_t for header lengths
This is required by `en/header-split-cache-h`. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent d7c30f9 commit d3d5f3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

object-store-ll.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,10 @@ void *repo_read_object_file(struct repository *r,
247247
int oid_object_info(struct repository *r, const struct object_id *, unsigned long *);
248248

249249
void hash_object_file(const struct git_hash_algo *algo, const void *buf,
250-
unsigned long len, enum object_type type,
250+
size_t len, enum object_type type,
251251
struct object_id *oid);
252252

253-
int write_object_file_flags(const void *buf, unsigned long len,
253+
int write_object_file_flags(const void *buf, size_t len,
254254
enum object_type type, struct object_id *oid,
255255
unsigned flags);
256256
static inline int write_object_file(const void *buf, unsigned long len,

0 commit comments

Comments
 (0)