Re: [PATCH 6/6] zlib: zlib can only process 4GB at a time
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jun 13, 2011, 11:52 UTC
- Message-ID
- <20110613115222.GA10501@elie>
- In-Reply-To
- <BANLkTi=sT_LxRaJSM3Cj-QkSwqGan29K7A@mail.gmail.com>
Erik Faye-Lund wrote:
> Looking a bit more at the code, it seems that we currently use > "unsigned long" a lot of places where "size_t" should have been used.
As Junio's comment about 32-bit platforms hints, when it comes to be the time to change all those places, wouldn't off_t be a better choice?
Thanks --- it is exciting to watch this topic move forward, inch by inch. And thanks for the hint about invalid word size == sizeof(long) assumptions on Windows.