Fix couple "conversion from 'x' to 'y', possible loss of data" warnings on 64-bit build.