Fixed typo in hash.d (J. James)

This commit is contained in:
Juan Jose Garcia Ripoll 2011-01-24 22:12:31 +01:00
parent 1b78dcc002
commit 1d03e4d50e

View file

@ -140,7 +140,7 @@ _hash_equal(int depth, cl_hashkey h, cl_object x)
/* We coerce to double because long double has extra bits
* that give rise to different hash key and are not
* meaningful */
struct { double mantissa; int exponent; int sign} aux;
struct { double mantissa; int exponent; int sign; } aux;
aux.mantissa = frexpl(ecl_long_float(x), &aux.exponent);
aux.sign = (ecl_long_float(x) < 0)? -1: 1;
if (aux.mantissa == 0.0) aux.mantissa = 0.0;