Silence an MSVC warning
This commit is contained in:
parent
10257f485a
commit
75aa96a4a6
@ -794,7 +794,7 @@ static __inline ALint aluF2I(ALfloat val)
|
||||
{
|
||||
if(val > 1.0f) return 2147483647;
|
||||
if(val < -1.0f) return -2147483647-1;
|
||||
return fastf2i(val*2147483647.0);
|
||||
return fastf2i((ALfloat)(val*2147483647.0));
|
||||
}
|
||||
static __inline ALuint aluF2UI(ALfloat val)
|
||||
{ return aluF2I(val)+2147483648u; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user