git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0347d1f
)
Format pay day as int rather then char.
author
Maxim Mamontov
<faust.madf@gmail.com>
Fri, 3 Oct 2014 09:00:24 +0000
(12:00 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Fri, 3 Oct 2014 09:00:24 +0000
(12:00 +0300)
projects/sgconf/services.cpp
patch
|
blob
|
history
diff --git
a/projects/sgconf/services.cpp
b/projects/sgconf/services.cpp
index 22a640130ec01c5acbd9049c7bddd051c4799961..e2bf9bf621c3ffc00582e19dd1716724e45a4857 100644
(file)
--- 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<unsigned>(info.payDay)
<< "\n"
<< Indent(level) << "comment: " << info.comment << "\n";
}