Skip to content

Commit

Permalink
Fix Linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
reunanen committed May 9, 2024
1 parent 680790c commit d7db43f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CPP/Clipper2Lib/include/clipper2/clipper.core.h
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ namespace Clipper2Lib
const uint64_t b1 = b >> 32;
const uint64_t d11 = a1 * b0 + (a0 * b0 >> 32);
const uint64_t d12 = a0 * b1;
const uint64_t c1 = (d11 > 18446744073709551615 - d12) ? 1 : 0;
const uint64_t c1 = (d11 > std::numeric_limits<uint64_t>::max() - d12) ? 1 : 0;
return a1 * b1 + c1;
}

Expand Down

0 comments on commit d7db43f

Please sign in to comment.