mirror of https://github.com/aria2/aria2
Fixed compile error with mingw
parent
f4f6ecda37
commit
bf342a2827
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue