Skip to content

Commit 57f531e

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 aa7b06e commit 57f531e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

object-store-ll.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ static inline int write_object_file(const void *buf, size_t len,
259259
return write_object_file_flags(buf, len, type, oid, 0);
260260
}
261261

262-
int write_object_file_literally(const void *buf, unsigned long len,
262+
int write_object_file_literally(const void *buf, size_t len,
263263
const char *type, struct object_id *oid,
264264
unsigned flags);
265265
int stream_loose_object(struct input_stream *in_stream, size_t len,

0 commit comments

Comments
 (0)