correct prototypes for 64-bit build