Commit 970491df by Richard Stallman

(ereal_to_int): Fix potentially wrong-endian argument passed to eisnan.

From-SVN: r4537
parent 9d72da33
......@@ -690,7 +690,7 @@ ereal_to_int (low, high, rr)
GET_REAL (&rr, d);
#ifdef NANS
if (eisnan (&rr))
if (eisnan (d))
{
warning ("conversion from NaN to int");
*low = -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment