forked from oerkki/voxelands
fix compile failing with older openal libs
This commit is contained in:
parent
b88e2a025b
commit
f73007e474
|
@ -111,7 +111,7 @@ SoundBuffer* loadOggFile(const std::string &filepath)
|
|||
OggVorbis_File oggFile;
|
||||
|
||||
// Try opening the given file
|
||||
if (ov_fopen(filepath.c_str(), &oggFile) != 0) {
|
||||
if (ov_fopen((char*)filepath.c_str(), &oggFile) != 0) {
|
||||
infostream<<"Audio: Error opening "<<filepath<<" for decoding"<<std::endl;
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue