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
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to