diff options
Diffstat (limited to 'include/freetype/internal/ftcalc.h')
-rw-r--r-- | include/freetype/internal/ftcalc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/freetype/internal/ftcalc.h b/include/freetype/internal/ftcalc.h index d93a05488..8b35f03d8 100644 --- a/include/freetype/internal/ftcalc.h +++ b/include/freetype/internal/ftcalc.h @@ -424,7 +424,7 @@ FT_BEGIN_HEADER #define MUL_LONG( a, b ) \ (FT_Long)( (FT_ULong)(a) * (FT_ULong)(b) ) #define NEG_LONG( a ) \ - (FT_Long)( -(FT_ULong)(a) ) + (FT_Long)( (FT_ULong)0 - (FT_ULong)(a) ) #define ADD_INT32( a, b ) \ (FT_Int32)( (FT_UInt32)(a) + (FT_UInt32)(b) ) @@ -433,7 +433,7 @@ FT_BEGIN_HEADER #define MUL_INT32( a, b ) \ (FT_Int32)( (FT_UInt32)(a) * (FT_UInt32)(b) ) #define NEG_INT32( a ) \ - (FT_Int32)( -(FT_UInt32)(a) ) + (FT_Int32)( (FT_UInt32)0 - (FT_UInt32)(a) ) FT_END_HEADER |