Fix conversion warnings on XCode 5.1