Re: [PATCH] avoid possible overflow in delta size filtering computation
- From
Brandon Casey <casey@nrlssc.navy.mil>
- Date
- Mar 24, 2009, 20:20 UTC
- Message-ID
- <IJd5MMCs9G_oJF_jS9hZAHkoKM0IvDNHuvHhhQ3MnKbPbSQlMYjOAg@cipher.nrlssc.navy.mil>
- In-Reply-To
- <alpine.LFD.2.00.0903241535010.26337@xanadu.home>
Nicolas Pitre wrote:
> On a 32-bit system, the maximum possible size for an object is less than > 4GB, while 64-bit systems may cope with larger objects. Due to this > limitation, variables holding object sizes are using an unsigned long > type (32 bits on 32-bit systems, or 64 bits on 64-bit systems).
FYI: except on windows 64-bit where long is still 32 bits AFAIK
-brandon