From: Christian Weisgerber Subject: Re: reuse deltas while packing To: gameoftrees@openbsd.org Date: Mon, 7 Feb 2022 21:28:10 +0100 Stefan Sperling: > > There should be no need to cast UINT_MAX to size_t since it is > > explicitly unsigned and should be implicitly promoted to size_t for > > the comparison. > > Indeed, thank you. The code is much clearer this way. > > This new patch still fixes the issue for me. > > diff 0cc5a39811be39e9f2b47098ec3a38e8817ba0bc /home/stsp/src/got That looks correct, and gotadmin indexpack can now successfully process the 4.7G pack file. ok naddy -- Christian "naddy" Weisgerber naddy@mips.inka.de