64 bit size_t

evilrat evilrat666 at gmail.com
Sun Feb 16 23:47:50 PST 2014


On Monday, 17 February 2014 at 07:46:02 UTC, Steve Teale wrote:
> On Monday, 17 February 2014 at 07:17:06 UTC, Steve Teale wrote:
>
>>> What is size_t for 64 bit?
>>>
>>> Steve
>>
>> Sorry parent.children is just a straightforward array
>
> Sorry again - forget about it. I'd forgotten that D actually 
> says int is 32 bits, and ulong is 64, and size_t for a 64 bit 
> machine is obviously 64.
>
> I'll just go through the code and either change int to ulong or 
> use a cast.
>
> ;=(

or use auto :)


More information about the Digitalmars-d-learn mailing list