mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-16 14:28:07 +02:00
While clang's sanitizer recommends a cast to unsigned for safe negation (to handle -INT_MIN), both MSVC and Visualc emit warning C4146 if an unsigned value gets negated. * include/freetype/internal/ftcalc.h (NEG_LONG, NEG_INT32), src/base/ftcalc.c (FT_MOVE_SIGN): Replace negation with a subtraction. |
||
|---|---|---|
| .. | ||
| freetype | ||
| ft2build.h | ||