summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();