From 0737fc2c72c904bd7d055f56168499f5916a97af Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Tue, 2 Jun 2009 10:16:38 +0200 Subject: [PATCH] gdi32: Avoid using long when not needed. --- dlls/gdi32/freetype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }