mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 13:55:36 +00:00
Fixed compiler warning
This commit is contained in:
parent
214eb88f0f
commit
0897f2359c
|
@ -45,7 +45,7 @@ double scalbln(double x, long n)
|
||||||
}
|
}
|
||||||
if (k == 0x7ff)
|
if (k == 0x7ff)
|
||||||
return x + x; /* NaN or Inf */
|
return x + x; /* NaN or Inf */
|
||||||
k = k + n;
|
k = (int32_t)(k + n);
|
||||||
if (k > 0x7fe)
|
if (k > 0x7fe)
|
||||||
return huge * copysign(huge, x); /* overflow */
|
return huge * copysign(huge, x); /* overflow */
|
||||||
if (n < -50000)
|
if (n < -50000)
|
||||||
|
|
Loading…
Reference in a new issue