diff options
-rw-r--r-- | Source/cmDocumentation.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 3167c7f..f88e170 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -229,7 +229,7 @@ void cmDocumentation::PrintUsageSection(std::ostream& os, const cmDocumentationEntry* section) { if(!section) { return; } - std::ios::fmtflags flags = os.flags(); + long flags = static_cast<long>(os.flags()); os.setf(flags | std::ios::left); for(const cmDocumentationEntry* op = section; op->brief; ++op) { |