Workaround 'potential multiplication overflow' code defect in de_win (cord)
authorIvan Maidanski <ivmai@mail.ru>
Fri, 9 Dec 2016 21:57:39 +0000 (00:57 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 9 Dec 2016 21:57:39 +0000 (00:57 +0300)
commitd87636e22df9d5985d0a38219ecc0b47978173e0
tree792cc5962973f5917d071b693099ab0a678f9df4
parent0e175f31ea8fc5e6fbf36d0677c54776080afe6b
Workaround 'potential multiplication overflow' code defect in de_win (cord)

* cord/tests/de_win.c (get_line_rect): Cast (extend) char_height to
LONG when multiplied by line (otherwise only the result of the
multiplication is extended to LONG implicitly).
cord/tests/de_win.c