fix warnning for Xcode 6.1

After updating Xcode , warnning has occurred and I fixed them.