diff --git a/attr.c b/attr.c index 7f4f11a74c..61280a5fd6 100644 --- a/attr.c +++ b/attr.c @@ -756,7 +756,7 @@ static struct attr_stack *read_attr_from_index(struct index_state *istate, struct attr_stack *res; char *buf, *sp; int lineno = 0; - size_t size; + unsigned long size; if (!istate) return NULL;