Fixed compiler warning

Sam Lantinga 2020-01-29 20:09:16 -08:00
parent 214eb88f0f
commit 0897f2359c
1 changed files with 1 additions and 1 deletions

View File

@ -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)