Skip to content

Commit

Permalink
Fixed integer overflow error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ray Smith committed Sep 8, 2017
1 parent 4cf123e commit ad74e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccstruct/coutln.cpp
Expand Up @@ -603,7 +603,7 @@ void C_OUTLINE::move(const ICOORD vec) {
*/
bool C_OUTLINE::IsLegallyNested() const {
if (stepcount == 0) return true;
int parent_area = outer_area();
int64_t parent_area = outer_area();
// We aren't going to modify the list, or its contents, but there is
// no const iterator.
C_OUTLINE_IT child_it(const_cast<C_OUTLINE_LIST*>(&children));
Expand Down

0 comments on commit ad74e8a

Please sign in to comment.