1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Another attempt at fixing the bots.

llvm-svn: 184318
This commit is contained in:
Rafael Espindola 2013-06-19 16:16:13 +00:00
parent 79be778ce2
commit ad605fef8b

View File

@ -430,7 +430,7 @@ doExtract(std::string* ErrMsg) {
// Open up a file stream for writing
std::ios::openmode io_mode = std::ios::out | std::ios::trunc |
std::ios::binary;
std::ofstream file(I->getPath().str(), io_mode);
std::ofstream file(I->getPath().str().c_str(), io_mode);
// Get the data and its length
const char* data = reinterpret_cast<const char*>(I->getData());