From dc569bbcb4c12a5a400f9e5701e5c1027badadae Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 19:52:34 +0300 Subject: Fix code style in resources. --- src/resources/db/deaddb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/db/deaddb.cpp') 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]); -- cgit v1.2.3-70-g09d2