summaryrefslogtreecommitdiff
path: root/server/src/macrotool_util.cc
diff options
context:
space:
mode:
authordeva <deva>2010-02-12 13:53:00 +0000
committerdeva <deva>2010-02-12 13:53:00 +0000
commitc44cc1989fe1b4cd94c115fb9a62b73afc46e62f (patch)
tree880523c9e8be8c4c43498faf5c3fe8bdb1798cda /server/src/macrotool_util.cc
parent305ddf3bdb16177420f480b006550508174a734e (diff)
Fix compiler warnings.
Diffstat (limited to 'server/src/macrotool_util.cc')
-rw-r--r--server/src/macrotool_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/macrotool_util.cc b/server/src/macrotool_util.cc
index d6446f7..003e929 100644
--- a/server/src/macrotool_util.cc
+++ b/server/src/macrotool_util.cc
@@ -71,7 +71,7 @@ std::vector<std::string> getTemplates()
void printcolumn(std::string text, size_t width)
{
- printf(text.c_str());
+ printf("%s", text.c_str());
for(size_t i = text.length(); i < width; i++) printf(" ");
printf("\t");
}