* Fixed a minor compilation warning.
git-svn-id: svn://svn.zoy.org/elk/trunk@191 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
42d750b896
commit
3099835542
|
@ -64,8 +64,8 @@ int Eqv (Object x1, Object x2) {
|
||||||
t2 = TYPE(x2);
|
t2 = TYPE(x2);
|
||||||
if (Numeric (t1) && Numeric (t2)) {
|
if (Numeric (t1) && Numeric (t2)) {
|
||||||
/* r4rs 6.2 states that (eqv? 1 1.0) ==> #f */
|
/* r4rs 6.2 states that (eqv? 1 1.0) ==> #f */
|
||||||
if(t1 == T_Flonum && t2 != T_Flonum
|
if((t1 == T_Flonum && t2 != T_Flonum)
|
||||||
|| t1 != T_Flonum && t2 == T_Flonum)
|
|| (t1 != T_Flonum && t2 == T_Flonum))
|
||||||
return 0;
|
return 0;
|
||||||
return Generic_Equal (x1, x2);
|
return Generic_Equal (x1, x2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue