diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-11 22:43:14 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-11 22:43:14 +0100 |
commit | 7e6ee7ef8158a037c11405986513aa344ce68f42 (patch) | |
tree | f00f9095be3708fafcb68a370042633740ef5f0d /src/Server.cpp | |
parent | Fixed a load of format string errors (diff) | |
download | cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar.gz cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar.bz2 cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar.lz cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar.xz cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.tar.zst cuberite-7e6ee7ef8158a037c11405986513aa344ce68f42.zip |
Diffstat (limited to 'src/Server.cpp')
-rw-r--r-- | src/Server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server.cpp b/src/Server.cpp index fcbcaa919..194195136 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -550,7 +550,7 @@ void cServer::PrintHelp(const AStringVector & a_Split, cCommandOutputCallback & for (AStringPairs::const_iterator itr = Callback.m_Commands.begin(), end = Callback.m_Commands.end(); itr != end; ++itr) { const AStringPair & cmd = *itr; - a_Output.Out(Printf("%-*s%s\n", Callback.m_MaxLen, cmd.first.c_str(), cmd.second.c_str())); + a_Output.Out(Printf("%-*s%s\n", static_cast<int>(Callback.m_MaxLen), cmd.first.c_str(), cmd.second.c_str())); } // for itr - Callback.m_Commands[] a_Output.Finished(); } |