diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 60c5f215e93..ef934025fa3 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -846,7 +846,7 @@ static inline FT_Fixed FT_FixedFromFloat(double f) */ static inline FT_Fixed FT_FixedFromFIXED(FIXED f) { - return (FT_Fixed)((long)f.value << 16 | (unsigned long)f.fract); + return (FT_Fixed)((int)f.value << 16 | (unsigned int)f.fract); }