]> git.stg.codes - stg.git/blobdiff - projects/sgconf/services.cpp
Allowed to build on Darwin.
[stg.git] / 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"
 {
 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";
 }
 
           << Indent(level)       << "comment: " << info.comment << "\n";
 }