diff --git a/CocosDenshion/iphone/SimpleAudioEngine.mm b/CocosDenshion/iphone/SimpleAudioEngine.mm index d06728e0d2..dd387759c0 100644 --- a/CocosDenshion/iphone/SimpleAudioEngine.mm +++ b/CocosDenshion/iphone/SimpleAudioEngine.mm @@ -204,7 +204,7 @@ namespace CocosDenshion float SimpleAudioEngine::getEffectsVolume() { - return (int)static_getEffectsVolume(); + return static_getEffectsVolume(); } void SimpleAudioEngine::setEffectsVolume(float volume)