diff options
Diffstat (limited to 'audio/softsynth/fmtowns_pc98/towns_audio.cpp')
-rw-r--r-- | audio/softsynth/fmtowns_pc98/towns_audio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_audio.cpp b/audio/softsynth/fmtowns_pc98/towns_audio.cpp index 42824d8423..2506e02c2b 100644 --- a/audio/softsynth/fmtowns_pc98/towns_audio.cpp +++ b/audio/softsynth/fmtowns_pc98/towns_audio.cpp @@ -1940,14 +1940,14 @@ bool TownsAudioInterface::init() { return _intf->init(); } -int TownsAudioInterface::callback(int command, ...) { +TownsAudioInterface::ErrorCode TownsAudioInterface::callback(int command, ...) { va_list args; va_start(args, command); int res = _intf->processCommand(command, args); va_end(args); - return res; + return (TownsAudioInterface::ErrorCode)res; } void TownsAudioInterface::setMusicVolume(int volume) { |