mirror of https://github.com/CGAL/cgal
fix a warning from UBSAN (in a postcondition)
This commit is contained in:
parent
b31c2ddbe1
commit
e1e94a1304
|
|
@ -167,7 +167,7 @@ public:
|
|||
low = static_cast<limb>(l & mask); //extract low bits from l
|
||||
high= static_cast<limb>((l - low) >> sizeof_limb); //extract high bits from l
|
||||
|
||||
CGAL_postcondition ( l == low + ( static_cast<limb2>(high) << sizeof_limb ) );
|
||||
CGAL_postcondition ( l == low + ( high * (limb2(1) << sizeof_limb) ) );
|
||||
}
|
||||
|
||||
// Given a limb2, returns the higher limb.
|
||||
|
|
|
|||
Loading…
Reference in New Issue