diff data/fileio/CodedAudioFileReader.cpp @ 1361:49b43306778b 3.0-integration

Win32 fixes
author Chris Cannam
date Tue, 10 Jan 2017 11:08:14 +0000
parents 1c9bbbb6116a
children 96a6ea30933e
line wrap: on
line diff
--- 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);