Hopefully prevent a crash in 64 bit Windows

Apparently in 64 bit Windows function parameters from the 5th onwards
are passed on the stack, and if they are smaller than 64 bits the extra
high bits can be garbage.