1
0
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:
Michael Pavlyshko 2014-07-09 18:01:12 +03:00
parent 24af413d61
commit 11d73f2ac9

View File

@ -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);