Windows compile fix

This commit is contained in:
Jack Andersen 2016-07-06 11:49:39 -10:00
parent c47780527d
commit 7b329963d1
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ struct WAVOutVoiceEngine : boo::BaseAudioVoiceEngine
#if _WIN32 #if _WIN32
WAVOutVoiceEngine(const wchar_t* path, double sampleRate) WAVOutVoiceEngine(const wchar_t* path, double sampleRate)
{ {
m_fp = _wfopen(path, "wb"); m_fp = _wfopen(path, L"wb");
if (!m_fp) if (!m_fp)
return; return;
prepareWAV(sampleRate); prepareWAV(sampleRate);