mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
One more compile fix, works now fine on Windows.
This commit is contained in:
parent
77496bcea9
commit
d8594576e2
@ -425,7 +425,7 @@ bool CVideoPlayer::open(std::string name)
|
||||
|
||||
std::ofstream out(name, std::ofstream::binary);
|
||||
out.exceptions(std::ifstream::failbit | std::ifstream::badbit);
|
||||
out.write(data.first.get(), data.second);
|
||||
out.write(reinterpret_cast<char*>(data.first.get()), data.second);
|
||||
}
|
||||
|
||||
current->open(name);
|
||||
|
Loading…
Reference in New Issue
Block a user