mirror of https://github.com/encounter/SDL.git
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)
|
||||
return x + x; /* NaN or Inf */
|
||||
k = k + n;
|
||||
k = (int32_t)(k + n);
|
||||
if (k > 0x7fe)
|
||||
return huge * copysign(huge, x); /* overflow */
|
||||
if (n < -50000)
|
||||
|
|
Loading…
Reference in New Issue