summaryrefslogtreecommitdiff
path: root/server/src/macrotool_util.cc
diff options
context:
space:
mode:
authordeva <deva>2009-12-18 08:45:12 +0000
committerdeva <deva>2009-12-18 08:45:12 +0000
commit2f0bf2d0af5b9b749e6e195829fb7093fc8ab930 (patch)
tree37374c59ad77b30477929bf89689ac3c1645f792 /server/src/macrotool_util.cc
parent817072bf0ae27484394a77a016cfe07b35885b8a (diff)
Fix compiler warnings "format not a string literal and no format arguments". Actually exposed a bug in luaresume.cc
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");
}