Explorar el Código

fix CVideoHandler compilation

Michael Pavlyshko hace 11 años
padre
commit
11d73f2ac9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      client/CVideoHandler.cpp

+ 1 - 1
client/CVideoHandler.cpp

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