diff --git a/4/m_solvemsg.cpp b/4/m_solvemsg.cpp index fce8cdf0..7ea79dca 100644 --- a/4/m_solvemsg.cpp +++ b/4/m_solvemsg.cpp @@ -55,7 +55,7 @@ class CommandSolve final return CmdResult::FAILURE; } - int result = ConvToNum(parameters[0]); + const auto result = ConvToNum(parameters[0]); if (result != (problem->first + problem->second)) { user->WriteNotice(INSP_FORMAT("*** {} is not the correct answer.", parameters[0]));