Skip to content

Commit cc89f7a

Browse files
committed
fix windows build
1 parent 938fcbd commit cc89f7a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

library/SDLConsole_impl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2626,10 +2626,10 @@ class OutputPane : public Widget {
26262626
step = -1;
26272627
break;
26282628
case ScrollAction::page_up:
2629-
step = (int)rows();
2629+
step = int(rows());
26302630
break;
26312631
case ScrollAction::page_down:
2632-
step = (int)-rows();
2632+
step = -int(rows());
26332633
break;
26342634
}
26352635

0 commit comments

Comments
 (0)