Skip to content

Commit 9898709

Browse files
committed
Merge branch 'fix-size_t-vs-unsigned-long'
A bug was introduced in v2.30.7 that caused problems on platforms where the `size_t` and `unsigned long` data types have different widths. This branch addresses that bug. Signed-off-by: Johannes Schindelin <[email protected]>
2 parents b503daf + 32f900f commit 9898709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

attr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ static struct attr_stack *read_attr_from_index(struct index_state *istate,
757757
struct attr_stack *res;
758758
char *buf, *sp;
759759
int lineno = 0;
760-
size_t size;
760+
unsigned long size;
761761

762762
if (!istate)
763763
return NULL;

0 commit comments

Comments
 (0)