Fix warnings on 64bit platforms.