From: Maxim Mamontov Date: Fri, 3 Oct 2014 09:00:24 +0000 (+0300) Subject: Format pay day as int rather then char. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/4f778b02c9e44e65183b96f3c0db3b22deaf69f9 Format pay day as int rather then char. --- diff --git a/projects/sgconf/services.cpp b/projects/sgconf/services.cpp index 22a64013..e2bf9bf6 100644 --- a/projects/sgconf/services.cpp +++ b/projects/sgconf/services.cpp @@ -28,7 +28,7 @@ void PrintService(const STG::GET_SERVICE::INFO & info, size_t level = 0) { std::cout << Indent(level, true) << "name: " << info.name << "\n" << Indent(level) << "cost: " << info.cost << "\n" - << Indent(level) << "payment day: " << info.payDay << "\n" + << Indent(level) << "payment day: " << static_cast(info.payDay) << "\n" << Indent(level) << "comment: " << info.comment << "\n"; }