Fix compilation warnings on 64-bit systems.