Commit c23661e34b738e16220d8b7afbe0ab5cc584f105
1 parent
32a70aeb
Adding static cast to fix latest change
Showing
1 changed file
with
1 additions
and
1 deletions
include/CLI/App.hpp
| ... | ... | @@ -530,7 +530,7 @@ public: |
| 530 | 530 | |
| 531 | 531 | /// Print a nice error message and return the exit code |
| 532 | 532 | int exit(const Error& e) const { |
| 533 | - if(e.exit_code != ExitCodes::Success) { | |
| 533 | + if(e.exit_code != static_cast<int>(ExitCodes::Success)) { | |
| 534 | 534 | std::cerr << "ERROR: "; |
| 535 | 535 | std::cerr << e.what() << std::endl; |
| 536 | 536 | if(e.print_help) | ... | ... |