gdi32: Avoid using long when not needed.
Michael Stefaniuc
mstefani at redhat.de
Tue Jun 2 03:16:38 CDT 2009
---
dlls/gdi32/freetype.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index 60c5f21..ef93402 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);
}
--
1.6.0.6
More information about the wine-patches
mailing list