On Tue, 2003-03-04 at 08:22, Philip Brown wrote: > "unsigned long" is semi-unspecified, but is reasonably assumed to be > a 32-bit quantity.
On all 64bit bit platforms I have met unsigned long is a 64bit quantity. In fact I can't think of a single exception > mmap() takes an arg of type "off_t". off_t or loff_t ? off_t tends to be 32bit on a 64bit platform > So, if you're going to call something "offset", in a struct that is > targetted for memory map tracking... it should really be an explicit 64bit > length value. That hurts "normal" computers. Maybe it should be a typedef but thats another question. ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel