aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/chat.cpp2
1 files changed, 1 insertions, 1 deletions
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());
}