gdi32: Avoid using long when not needed.

This commit is contained in:
Michael Stefaniuc 2009-06-02 10:16:38 +02:00 committed by Alexandre Julliard
parent 22022cf8b3
commit 0737fc2c72
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}