32 bit portability stuff