projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed7c9c4
)
Suppress MSVC warning in chat.cpp
author
gregorycu
<gregory.currie@gmail.com>
Sun, 25 Jan 2015 06:08:12 +0000
(16:08 +1000)
committer
Craig Robbins
<kde.psych@gmail.com>
Sun, 25 Jan 2015 06:09:23 +0000
(16:09 +1000)
src/chat.cpp
patch
|
blob
|
history
diff --git
a/src/chat.cpp
b/src/chat.cpp
index b78b90145f2588e57d2de19fd5ad16cd2ba8e937..1fb872b8527badb4d5fa4ae1696601b84c7d5970 100644
(file)
--- 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());
}