Fixed integer overflow in overview for large line numbers and large overview heights.

(cherry picked from commit 2e6412d21fc307b7b9879005275611acd65bc1d8)
Merge pull request #45 from rluiten/FixedOverview

Fixed integer overflow in overview for large line numbers and large over...
Thanks a lot!