Skip to content

Commit ad74e8a

Browse files
author
Ray Smith
committed
Fixed integer overflow error
1 parent 4cf123e commit ad74e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ccstruct/coutln.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ void C_OUTLINE::move(const ICOORD vec) {
603603
*/
604604
bool C_OUTLINE::IsLegallyNested() const {
605605
if (stepcount == 0) return true;
606-
int parent_area = outer_area();
606+
int64_t parent_area = outer_area();
607607
// We aren't going to modify the list, or its contents, but there is
608608
// no const iterator.
609609
C_OUTLINE_IT child_it(const_cast<C_OUTLINE_LIST*>(&children));

0 commit comments

Comments
 (0)