From 41586cfc28ceb58f1856965309da03be4a79862e Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 8 Oct 2026 19:51:39 -1000 Subject: Hold object sizes in size_t as git 2.55 does Git 2.55 moved object sizes from unsigned long to size_t. The two are the same type on 64-bit hosts, but not on a 32-bit one, where GCC 14 rejects the mismatched pointers, so cgit stopped compiling there. --- source/ui-blame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/ui-blame.c') diff --git a/source/ui-blame.c b/source/ui-blame.c index f3d58c0..8fd6c83 100644 --- a/source/ui-blame.c +++ b/source/ui-blame.c @@ -265,7 +265,7 @@ static void print_blame_page(const struct object_id *oid, const char *path, { enum object_type type; char *buf; - unsigned long size; + size_t size; struct rev_info revs; struct blame_scoreboard sb; -- cgit 2.12.1