summaryrefslogtreecommitdiff
path: root/src/chatlogger.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-30 19:54:08 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-30 19:54:08 +0300
commitef7e7319305f040a47c483b71f2e78da7a1d6149 (patch)
tree14ac10427d7c94288fcb198db5277455754589ae /src/chatlogger.cpp
parent12389c8441c748996962412201af9e21d66f9e55 (diff)
downloadmanaplus-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.gz
manaplus-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.bz2
manaplus-ef7e7319305f040a47c483b71f2e78da7a1d6149.tar.xz
manaplus-ef7e7319305f040a47c483b71f2e78da7a1d6149.zip
Fix code style in other files.
Diffstat (limited to 'src/chatlogger.cpp')
-rw-r--r--src/chatlogger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chatlogger.cpp b/src/chatlogger.cpp
index 2bfe4933b..52c57dcf0 100644
--- a/src/chatlogger.cpp
+++ b/src/chatlogger.cpp
@@ -133,8 +133,8 @@ std::string ChatLogger::getDir() const
std::string ChatLogger::secureName(std::string &name)
{
- const unsigned int sz = name.length();
- for (unsigned int f = 0; f < sz; f ++)
+ const size_t sz = name.length();
+ for (size_t f = 0; f < sz; f ++)
{
const unsigned char ch = name[f];
if ((ch < '0' || ch > '9')