summaryrefslogtreecommitdiff
path: root/src/resources/db/deaddb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/deaddb.cpp')
-rw-r--r--src/resources/db/deaddb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/deaddb.cpp b/src/resources/db/deaddb.cpp
index e66e87e6a..7ee041cf2 100644
--- a/src/resources/db/deaddb.cpp
+++ b/src/resources/db/deaddb.cpp
@@ -89,7 +89,7 @@ void DeadDB::unload()
std::string DeadDB::getRandomString()
{
- const int sz = mMessages.size();
+ const size_t sz = mMessages.size();
if (!sz)
return std::string();
return translator->getStr(mMessages[rand() % sz]);