summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tuiclient/twindow.cpp')
-rw-r--r--tuiclient/twindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tuiclient/twindow.cpp b/tuiclient/twindow.cpp
index d451435..080506d 100644
--- a/tuiclient/twindow.cpp
+++ b/tuiclient/twindow.cpp
@@ -73,7 +73,7 @@ void Twindow::up(int inc){
}
void Twindow::down(uint inc){
- int tmp_top_position=top_position+inc;
+ uint tmp_top_position=top_position+inc;
// if we need to scroll down
if (max_received_screenline_num>bottom_screenline_num){
notfresh=TRUE;