[ofw] Problem in building opensm with the 6001 compiler
Fab Tillier
ftillier at microsoft.com
Thu Sep 2 09:12:15 PDT 2010
Hefty, Sean wrote on Thu, 2 Sep 2010 at 09:03:15
> The (long) cast should probably be (uintptr_t) when saving and restoring
> the pointer.
The long cast is a typical Linuxism, where long is always sizeof pointer (I remember early HCA drivers storing all sorts of pointer values in longs, which made for a heck of a hard time in porting to Windows.) In Windows, long is always 32-bits.
-Fab
More information about the ofw
mailing list