Module: wine Branch: master Commit: 81b03d88910cb3a268d04c2d42732cd0ecc65eec URL: http://source.winehq.org/git/wine.git/?a=commit;h=81b03d88910cb3a268d04c2d42...
Author: Stefan Dösinger stefan@codeweavers.com Date: Wed Jul 28 15:06:38 2010 +0200
wined3d: Use a int for the mantissa in float_24_to_32.
---
dlls/wined3d/wined3d_private.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index 7e53c90..bc5757b 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -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) {