summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
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));