Fixed warnings on 64-bit