summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-15 18:02:50 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-15 18:02:50 +0000
commitb4fe4edd09a47637aba34d227951b39fed0a4bfa (patch)
treedd7f494d703d63a9a63aa4c69fd99655baec5122 /protocols
parent06ed0d60176a4d3529999614825f3594b6cb54e9 (diff)
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@8628 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/FacebookRM/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/utils.cpp b/protocols/FacebookRM/src/utils.cpp
index 4da9cd44e0..5cafafc3e8 100644
--- a/protocols/FacebookRM/src/utils.cpp
+++ b/protocols/FacebookRM/src/utils.cpp
@@ -456,7 +456,7 @@ std::string utils::text::rand_string(int len, const char *chars)
srand(::time(NULL));
for (int i = 0; i < len; ++i) {
- out << chars[utils::number::random(0, strlen(chars))];
+ out << chars[utils::number::random(0, (int)strlen(chars))];
}
return out.str();