Fixed warnings for the Xcode 4.6