Add Xcode's recommended warnings settings and fix up a few 64-bit related warnings