Re: 64 bit integers in Expat 2.0?
Karl Waclawek <[email protected]>
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
Graham Bennett wrote: >On Tue, Nov 29, 2005 at 09:00:46AM -0500, Karl Waclawek wrote: > > >>We are trying to decide whether we should change some API return values >>to 64 bit integers to support file sizes > 2GB. Affected would be these >>API members: >> >> >When you say change to 64-bit, do you mean explicitly 64-bit on all >platforms? > > Yes. >I would have thought it better to use something like size_t, which would >be of the appropriate size on each platform. > > The point is that even on 32bit platforms, file sizes > 2GB are supported nowadays. size_t would therefore not be appropriate, as it would be 32bit on such a platform. Karl