summaryrefslogtreecommitdiff
path: root/src/main/command_executor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/command_executor.cpp')
-rw-r--r--src/main/command_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/command_executor.cpp b/src/main/command_executor.cpp
index f9055f56c..64025fc04 100644
--- a/src/main/command_executor.cpp
+++ b/src/main/command_executor.cpp
@@ -254,7 +254,7 @@ void CommandExecutor::printStatsFilterZeros(std::ostream& out,
std::getline(iss, statValue, '\n');
double curFloat;
- bool isFloat = (std::istringstream(statValue) >> curFloat);
+ bool isFloat = static_cast<bool>(std::istringstream(statValue) >> curFloat);
if( (isFloat && curFloat == 0) ||
statValue == " \"0\"" ||
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback