diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-02 21:38:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-02 21:40:43 +0300 |
commit | 4cffca0da71771d0d51ba4cd4842d2d93aa2946e (patch) | |
tree | 99b974a5bab64174ebd29ef7a4761caef01acec8 /src/gui/whoisonline.cpp | |
parent | 1dab21b236d76900f3ddd2be32f9590aef394c2d (diff) | |
download | plus-4cffca0da71771d0d51ba4cd4842d2d93aa2946e.tar.gz plus-4cffca0da71771d0d51ba4cd4842d2d93aa2946e.tar.bz2 plus-4cffca0da71771d0d51ba4cd4842d2d93aa2946e.tar.xz plus-4cffca0da71771d0d51ba4cd4842d2d93aa2946e.zip |
Fix some conversions.
Diffstat (limited to 'src/gui/whoisonline.cpp')
-rw-r--r-- | src/gui/whoisonline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/whoisonline.cpp b/src/gui/whoisonline.cpp index d3fcfa451..b522b8157 100644 --- a/src/gui/whoisonline.cpp +++ b/src/gui/whoisonline.cpp @@ -409,8 +409,8 @@ void WhoIsOnline::loadWebList() if (!mShowLevel) level = 0; - OnlinePlayer *player = new OnlinePlayer(nick, 255, level, - GENDER_UNSPECIFIED, -1); + OnlinePlayer *player = new OnlinePlayer(nick, + static_cast<char>(255), level, GENDER_UNSPECIFIED, -1); mOnlinePlayers.insert(player); mOnlineNicks.insert(nick); |