]> granicus.if.org Git - gc/commit
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>
Mon, 6 Feb 2017 17:27:30 +0000 (20:27 +0300)
commit0fd3b137d9f441b3934e9e0d6af1cbd9195be141
tree495aa9d91f489fb632de31dee4fc52e88664a34a
parentbcd444af98d9068452652650e1690316e1cc7b80
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