Re: [PATCH 1/4] mempool: use wide enough type for pointer arithmetic
Lawrence D'Oliveiro <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
On Thu, 11 Feb 2016 08:52:38 +0100, Guillermo Rodriguez Garcia wrote: > 2016-02-11 0:10 GMT+01:00 Lawrence D'Oliveiro > <[email protected]>: > >> On Wed, 10 Feb 2016 22:28:59 +0100, Simon Richter wrote: >>>> What about size_t? >>> >>> That doesn't come with a guarantee either. >> >> It’s big enough to represent the size of any object that can occupy >> memory. Therefore, it’s big enough to represent the address of any >> object that can occupy memory. > > This is not correct. See the various answers to this question in SO: > http://stackoverflow.com/a/1464194/450398 Lol -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo