]> git.stg.codes - stg.git/commitdiff
Format pay day as int rather then char.
authorMaxim Mamontov <faust.madf@gmail.com>
Fri, 3 Oct 2014 09:00:24 +0000 (12:00 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Fri, 3 Oct 2014 09:00:24 +0000 (12:00 +0300)
projects/sgconf/services.cpp

index 22a640130ec01c5acbd9049c7bddd051c4799961..e2bf9bf621c3ffc00582e19dd1716724e45a4857 100644 (file)
@@ -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<unsigned>(info.payDay) << "\n"
           << Indent(level)       << "comment: " << info.comment << "\n";
 }