don't cast between long and pointers for win64