On 22 February 2012 17:39, Don Clugston <[email protected]> wrote: > On 22/02/12 06:16, Walter Bright wrote: > >> On 2/21/2012 6:07 PM, Juan Manuel Cabo wrote: >> >>> 16bit intel had 16bit segments and offsets, so memory was segmented >>> and you couldn't address more than 64kb at a time. >>> So you couldn't have grabbed^H^H"allocated" more than 64kb in real >>> mode in intel >>> in a single linear block. >>> >> >> size_t was 16 bits on all 16 bit memory models except the 'huge' one. >> > > I expected that for ptrdiff_t, but for size_t as well? > > So sizeof(int *) was larger than size_t ? >
I've worked on platforms where sizeof(void*) was smaller than sizeof(size_t)
