From 0686c18fe4d56c3d03716c2c121d2660fb0df209 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 8 Apr 2024 16:37:38 -0500 Subject: [PATCH] config_passthrough.cpp --- src/config_passthrough.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config_passthrough.cpp b/src/config_passthrough.cpp index de5f449b..8cdb1bc6 100644 --- a/src/config_passthrough.cpp +++ b/src/config_passthrough.cpp @@ -31,7 +31,7 @@ template<> int Passthrough::from_string(const std::string &s_) { - _data = (int)BE_Passthrough::_from_string(s_.c_str()); + _data = BE_Passthrough::_from_string(s_.c_str())._to_integral(); if(s_ == "off") _data = Passthrough::ENUM::OFF; ef(s_ == "ro")