Fix warnings on 64-bit