summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-10-31 17:10:49 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-10-31 17:10:49 +0900
commitbf342a2827e61dff71f02cd6df369edf1fe6785e (patch)
tree2953fabcba8723f4f3dc37c553ce5d7967e7b9dd /src
parentf4f6ecda3766d91eb80c2514dc328e5c3de66830 (diff)
Fixed compile error with mingw
Diffstat (limited to 'src')
-rw-r--r--src/BufferedFile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BufferedFile.cc b/src/BufferedFile.cc
index c7da3b54..4ebd2641 100644
--- a/src/BufferedFile.cc
+++ b/src/BufferedFile.cc
@@ -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__