From b4fe4edd09a47637aba34d227951b39fed0a4bfa Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 15 Mar 2014 18:02:50 +0000 Subject: warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@8628 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src') 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(); -- cgit v1.2.3