From 88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 19:52:16 +0300 Subject: Fix code style in gui. --- src/gui/windows/chatwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/windows/chatwindow.cpp') diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 5b1eba199..1b1973f63 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -1452,7 +1452,8 @@ bool ChatWindow::resortChatLog(std::string line, Own own, { const std::string nick = line.substr(0, idx2 - 1); line = line.substr(idx2 + 6); - localPetEmote(nick, atoi(line.c_str())); + localPetEmote(nick, static_cast( + atoi(line.c_str()))); } // ignore other special message formats. return false; -- cgit v1.2.3-60-g2f50