Merge.
[libdcp.git] / src / asset.cc
index de299d34a93b914bfd487a12a3fb9e88c1b11d10..f8362c8b16ca61c16d18e7e8eb32b4fac6dd3854 100644 (file)
@@ -123,8 +123,8 @@ Asset::equals (shared_ptr<const Asset> other, EqualityFlags flags) const
                        return notes;
                }
                
-               ifstream a (mxf_path().c_str(), ios::binary);
-               ifstream b (other->mxf_path().c_str(), ios::binary);
+               ifstream a (mxf_path().string().c_str(), ios::binary);
+               ifstream b (other->mxf_path().string().c_str(), ios::binary);
 
                int buffer_size = 65536;
                char abuffer[buffer_size];