# HG changeset patch # User Chris Cannam # Date 1484046494 0 # Node ID 49b43306778b7440df83321a58c7e71416f59c16 # Parent 8eddb528ef0cad0d15ca9eba773ea9f6f7e30993 Win32 fixes diff -r 8eddb528ef0c -r 49b43306778b data/fileio/CodedAudioFileReader.cpp --- a/data/fileio/CodedAudioFileReader.cpp Tue Jan 10 11:06:19 2017 +0000 +++ b/data/fileio/CodedAudioFileReader.cpp Tue Jan 10 11:08:14 2017 +0000 @@ -200,7 +200,7 @@ #ifdef Q_OS_WIN m_cacheFileWritePtr = sf_wchar_open - ((LPCWSTR)m_cacheFileName.utf16(), SFM_WRITE, &m_fileInfo); + ((LPCWSTR)m_cacheFileName.utf16(), SFM_WRITE, &fileInfo); #else m_cacheFileWritePtr = sf_open (m_cacheFileName.toLocal8Bit(), SFM_WRITE, &fileInfo); diff -r 8eddb528ef0c -r 49b43306778b plugin/plugins/SamplePlayer.cpp --- a/plugin/plugins/SamplePlayer.cpp Tue Jan 10 11:06:19 2017 +0000 +++ b/plugin/plugins/SamplePlayer.cpp Tue Jan 10 11:08:14 2017 +0000 @@ -401,7 +401,7 @@ info.format = 0; #ifdef Q_OS_WIN - file = sf_wchar_open((LPCWSTR)path.utf16(), SFM_READ, &m_fileInfo); + file = sf_wchar_open((LPCWSTR)path.utf16(), SFM_READ, &info); #else file = sf_open(path.toLocal8Bit().data(), SFM_READ, &info); #endif