Skip to content

Commit 6b3deef

Browse files
committed
size_t: singleton change of variable type mid call stack
Test whether the Git CI system allows, or fails, when LLP64 systems need variable type coercion from size_t back to unsigned long. All the *nix systems should pass, but compile checks for LLP64 systems may fail. This is a crucial information spike for Git files > 4Gb, i.e. Issues: git-lfs git-for-windows#2434, GfW git-for-windows#2179, git-for-windows#1848, git-for-windows#3306. Signed-off-by: Philip Oakley <[email protected]>
1 parent 3f28c5f commit 6b3deef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/unpack-objects.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ static void added_object(unsigned nr, enum object_type type,
320320
}
321321
}
322322

323-
static void unpack_non_delta_entry(enum object_type type, unsigned long size,
323+
static void unpack_non_delta_entry(enum object_type type, size_t size,
324324
unsigned nr)
325325
{
326326
void *buf = get_data(size);

0 commit comments

Comments
 (0)