From: gregorycu Date: Sun, 25 Jan 2015 06:08:12 +0000 (+1000) Subject: Suppress MSVC warning in chat.cpp X-Git-Tag: 20-08-2020~4194 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=5b55deb1ebfd55562a6a57fbdbf5dce86015ca86;p=dragonfireclient.git Suppress MSVC warning in chat.cpp --- diff --git a/src/chat.cpp b/src/chat.cpp index b78b90145..1fb872b85 100644 --- a/src/chat.cpp +++ b/src/chat.cpp @@ -774,5 +774,5 @@ void ChatBackend::scrollPageDown() void ChatBackend::scrollPageUp() { - m_console_buffer.scroll(-m_console_buffer.getRows()); + m_console_buffer.scroll(-(s32)m_console_buffer.getRows()); }