diff --git a/include/argagg/argagg.hpp b/include/argagg/argagg.hpp index 735c9b5..70e2852 100644 --- a/include/argagg/argagg.hpp +++ b/include/argagg/argagg.hpp @@ -1381,7 +1381,7 @@ namespace convert { template <> inline bool arg(const char* arg) { - return static_cast(argagg::convert::arg(arg)); + return argagg::convert::arg(arg) != 0; }