summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file.cc b/src/file.cc
index c0e7549a..b79051a3 100644
--- a/src/file.cc
+++ b/src/file.cc
@@ -53,7 +53,7 @@ File::File(boost::filesystem::path path, std::string mode)
#ifdef LIBDCP_WINDOWS
std::wstring mode_wide(mode.begin(), mode.end());
/* c_str() here should give a UTF-16 string */
- _file = _wfopen(fix_long_path(path).c_str(), mode_wide.c_str());
+ _file = _wfopen(fix_long_path(path).c_str(), mode_wide.c_str());
#else
_file = fopen(path.c_str(), mode.c_str());
#endif