Eddie Edwards <[EMAIL PROTECTED]> wrote: > When compiling the Solaris AVL and zfs DMU modules on Windows I get many > warnings where a uintptr_t is cast to an int, and vice versa. The actual > cases seem benign (e.g. AVL is doing unitptr_t & 1 -> int, which is OK) but > I'm worried there might be some real issues. > > Just for my sanity, is "int" 32-bits wide on 64-bit Solaris as expected (i.e. > long >= int >= short >= char)?
uintptr_t is a cardinal of a size that is big eoungh to hold pointer values. UNIX in 64 bit mode typically uses the LP64 Model which means long and pointer size is 64 bits and the rest is less. Int is as expected 332 bit in 64 bit code. Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code