mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-05 15:05:40 +02:00
fix CVideoHandler compilation
This commit is contained in:
parent
24af413d61
commit
11d73f2ac9
@ -143,7 +143,7 @@ bool CBIKHandler::open(std::string name)
|
||||
}
|
||||
//GCC wants scope of waveout to don`t cross labels/swith/goto
|
||||
{
|
||||
void *waveout = GetProcAddress(dll,"_BinkOpenWaveOut@4");
|
||||
void *waveout = (void *)GetProcAddress(dll,"_BinkOpenWaveOut@4");
|
||||
if(waveout)
|
||||
binkSetSoundSystem(waveout,nullptr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user