• Herbert Dürr's avatar
    Fix build aborts in the customshape code caused by integer-narrowing-down problems · d1203ef9
    Herbert Dürr yazdı
    0x80000000 is used as magic constant all over the customshape code where
    it is squeezed into signed int32 types that cannot preserve this value. Good
    compilers notice the problem and have every right to complain or error-out.
    Using the magic constant already casted down consolidates the problem and is
    the least invasive way to fix it until the code gets its well deserved makeover.
    d1203ef9
EnhancedCustomShape2d.cxx 95.2 KB