summaryrefslogtreecommitdiff
path: root/src/chat.cpp
diff options
context:
space:
mode:
authorgregorycu <gregory.currie@gmail.com>2015-01-25 16:08:12 +1000
committerCraig Robbins <kde.psych@gmail.com>2015-01-25 16:09:23 +1000
commit5b55deb1ebfd55562a6a57fbdbf5dce86015ca86 (patch)
tree34e03cca3c41358f152fc2363a6f622f2b705218 /src/chat.cpp
parented7c9c4cb83da887a2a7f1b7f5fc1656057977e7 (diff)
downloadminetest-5b55deb1ebfd55562a6a57fbdbf5dce86015ca86.tar.gz
minetest-5b55deb1ebfd55562a6a57fbdbf5dce86015ca86.tar.bz2
minetest-5b55deb1ebfd55562a6a57fbdbf5dce86015ca86.zip
Suppress MSVC warning in chat.cpp
Diffstat (limited to 'src/chat.cpp')
-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());
}