fix warning in Xcode4.6

fix warning in Xcode4.6