Skip to content

Commit aa7b06e

Browse files
dschoGit for Windows Build Agent
authored andcommitted
fixup??? object-file.c: use size_t for header lengths
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent cc192b0 commit aa7b06e

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
@@ -250,10 +250,10 @@ void hash_object_file(const struct git_hash_algo *algo, const void *buf,
250250
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);
256-
static inline int write_object_file(const void *buf, unsigned long len,
256+
static inline int write_object_file(const void *buf, size_t len,
257257
enum object_type type, struct object_id *oid)
258258
{
259259
return write_object_file_flags(buf, len, type, oid, 0);

0 commit comments

Comments
 (0)