[cairo] [PATCH 1/4] mempool: use wide enough type for pointer arithmetic
Lawrence D'Oliveiro
ldo at geek-central.gen.nz
Thu Feb 11 09:13:07 UTC 2016
On Thu, 11 Feb 2016 08:52:38 +0100, Guillermo Rodriguez Garcia wrote:
> 2016-02-11 0:10 GMT+01:00 Lawrence D'Oliveiro
> <ldo at geek-central.gen.nz>:
>
>> 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
More information about the cairo
mailing list