mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 06:55:54 -04:00
Constness fix (or rather, hack)
This commit is contained in:
parent
5b8e8d6b48
commit
85fa6d3923
@ -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…
x
Reference in New Issue
Block a user