wined3d: Use a int for the mantissa in float_24_to_32.

This commit is contained in:
Stefan Dösinger 2010-07-28 15:06:38 +02:00 committed by Alexandre Julliard
parent b25f22e456
commit 81b03d8891
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ static inline float float_24_to_32(DWORD in)
{
const float sgn = in & 0x800000 ? -1.0f : 1.0f;
const unsigned short e = (in & 0x780000) >> 19;
const unsigned short m = in & 0x7ffff;
const unsigned int m = in & 0x7ffff;
if (e == 0)
{