Supress type cast long->int warnings on iOS 64 bit arch