Commit 0737fc2c authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

gdi32: Avoid using long when not needed.

parent 22022cf8
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment