Fixed type mismatch warning introduced in Xcode 4.6.1