summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/base/output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/output.cc b/src/base/output.cc
index 1c749e5bf..ee2e196ed 100644
--- a/src/base/output.cc
+++ b/src/base/output.cc
@@ -160,7 +160,7 @@ OutputDirectory::create(const string &name, bool binary)
string filename = resolve(name);
ios_base::openmode mode =
- ios::trunc | binary ? ios::binary : (ios::openmode)0;
+ ios::trunc | (binary ? ios::binary : (ios::openmode)0);
file = openFile(filename, mode);
return file;