next prototypes fixes for 64-bit host