diff --git a/include/printwin.cpp b/include/printwin.cpp index 661ee3256..4e6d588ef 100755 --- a/include/printwin.cpp +++ b/include/printwin.cpp @@ -210,7 +210,7 @@ void TPrintwin::paint_row(long j) bool TPrintwin::print_band(int page, RCT& r) { - const int j = page * _formlen; + const long j = ((long)page) * _formlen; const int rows = (r.bottom - r.top) / _chary; const int top = r.top / _chary;