summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-15 21:39:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-15 21:39:03 +0300
commit3133a725a57e275b76cccd0866cab6a00a07d1a6 (patch)
treeb5abce4046623ea08467897d8aea27fe0619b5b5 /src/being.cpp
parent6c3ab80385465cdaf88643fd964706827e2b61d6 (diff)
downloadplus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.gz
plus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.bz2
plus-3133a725a57e275b76cccd0866cab6a00a07d1a6.tar.xz
plus-3133a725a57e275b76cccd0866cab6a00a07d1a6.zip
Fix code style.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index b26b56c5d..839999312 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -459,7 +459,7 @@ void Being::setSpeech(const std::string &text, int time)
if (mSpeech.empty())
return;
- const int sz = mSpeech.size();
+ const size_t sz = mSpeech.size();
if (!time && sz < 200)
time = static_cast<int>(SPEECH_TIME - 300 + (3 * sz));