forked from mirror/openmw-tes3mp
Constness fix (or rather, hack)
This commit is contained in:
parent
5b8e8d6b48
commit
85fa6d3923
1 changed files with 2 additions and 2 deletions
|
@ -94,8 +94,8 @@ Mpg123Source::Mpg123Source(const std::string &file)
|
|||
|
||||
mpg123_handle *mhh = (mpg123_handle*)mh;
|
||||
|
||||
// Open the file
|
||||
err = mpg123_open(mhh, file.c_str());
|
||||
// Open the file (hack around constness)
|
||||
err = mpg123_open(mhh, (char*)file.c_str());
|
||||
checkError(err, mh);
|
||||
|
||||
// Get the format
|
||||
|
|
Loading…
Reference in a new issue