> > From what I see on Windows, at least, XMLSize_t ends up being a 
> > typedef
> > for unsigned long, rather than size_t, and that's why I was concerned.
> 
> I believe the intent of XMLSize_t is that it match whatever size_t 
> would be on a particular platform. size_t should be a 32 bit unsigned 
> on Win32, and 64 bits on Win64?

Yes, it probably is a bug, but it's a bit of a problem on Windows, because 
the 64-bit model on Windows is different from most platforms in that long 
types are still 32-bits, so size_t is the only 64-bit integral type.

On the other hand, from the usage I see, XMLSize_t might as well stay a 
32-bit value, and probably should have been on all platforms.  Do we 
really need to "count" more than 2^32 nodes in a document, or be able to 
index into more than 2^32 of character data?

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to