From 4f778b02c9e44e65183b96f3c0db3b22deaf69f9 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Fri, 3 Oct 2014 12:00:24 +0300 Subject: [PATCH 1/1] Format pay day as int rather then char. --- projects/sgconf/services.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 2.44.2