fix bad test for bignum condition.

This commit is contained in:
Vitor Santos Costa 2009-06-05 14:19:02 -05:00
parent 5e4be93491
commit 4e5fe4186f
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ inline EXTERN Term Yap_Mk64IntegerTerm(YAP_LONG_LONG);
inline EXTERN Term
Yap_Mk64IntegerTerm(YAP_LONG_LONG i)
{
if (i <= Int_MAX || i >= Int_MIN) {
if (i <= Int_MAX && i >= Int_MIN) {
return MkIntegerTerm((Int)i);
} else {
#if USE_GMP