Fixed compile error with mingw

pull/31/head
Tatsuhiro Tsujikawa 2012-10-31 17:10:49 +09:00
parent f4f6ecda37
commit bf342a2827
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ const char BufferedFile::APPEND[] = "ab";
BufferedFile::BufferedFile(const char* filename, const char* mode)
:
#ifdef __MINGW32__
fp_(a2fopen(utf8ToWChar(filename).c_str(), utf8ToWChar(mode).c_str)),
fp_(a2fopen(utf8ToWChar(filename).c_str(), utf8ToWChar(mode).c_str())),
#else // !__MINGW32__
fp_(a2fopen(filename, mode)),
#endif // !__MINGW32__