Greg Marr wrote:

At 01:23 AM 5/19/2005, Branko ÃÅibej wrote:

Um. Even on those architectures, size_t can be smaller than ptrdiff_t.


#ifdef  _WIN64
typedef unsigned __int64    size_t;
#else
typedef _W64 unsigned int   size_t;
#endif

#ifdef  _WIN64
typedef __int64             ptrdiff_t;
#else
typedef _W64 int            ptrdiff_t;
#endif

So? That's just how things are done on Win64. It says nothing about (L)P64 architectures in general. Or any other 64-bit architecture for that matter, because size_t is allowed to be smaller than int.


-- Brane



Reply via email to