summaryrefslogtreecommitdiff
path: root/sql/sql_window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_window.cc')
-rw-r--r--sql/sql_window.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_window.cc b/sql/sql_window.cc
index 18bab30d2fd..d22fff9d486 100644
--- a/sql/sql_window.cc
+++ b/sql/sql_window.cc
@@ -1827,7 +1827,7 @@ public:
private:
void move_cursor_if_possible()
{
- int rows_difference= n_rows - n_rows_behind;
+ longlong rows_difference= n_rows - n_rows_behind;
if (rows_difference > 0) /* We still have to wait. */
return;