summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sound_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index e24aced2..c23fc2ff 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -68,7 +68,7 @@ SoundAsset::SoundAsset (boost::filesystem::path file)
: Asset (file)
{
ASDCP::PCM::MXFReader reader;
- auto r = reader.OpenRead (file.string().c_str());
+ auto r = reader.OpenRead(file.string());
if (ASDCP_FAILURE(r)) {
boost::throw_exception (MXFFileError("could not open MXF file for reading", file.string(), r));
}