Fixed xCode 5 warnings