summaryrefslogtreecommitdiff
path: root/libguile/ramap.c
diff options
context:
space:
mode:
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2000-06-05 11:39:46 +0000
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>2000-06-05 11:39:46 +0000
commit9a09deb1c31529e4710dec3badc860ca1cd466af (patch)
treeada8db2350a0114a0d8d17eca63050c8d2620526 /libguile/ramap.c
parent1f496b05af0b75a9ba5b4ee0e7f59b6fa4607a27 (diff)
downloadguile-9a09deb1c31529e4710dec3badc860ca1cd466af.tar.gz
* Removed SCM_TRUE_P since it may get confused with !SCM_FALSEP.
Diffstat (limited to 'libguile/ramap.c')
-rw-r--r--libguile/ramap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/ramap.c b/libguile/ramap.c
index cffdd18fa..2e4d83388 100644
--- a/libguile/ramap.c
+++ b/libguile/ramap.c
@@ -515,7 +515,7 @@ scm_array_fill_int (SCM ra, SCM fill, SCM ignore)
if ((base + n) % SCM_LONG_BIT) /* trailing partial word */
ve[i] &= (~0L << ((base + n) % SCM_LONG_BIT));
}
- else if (SCM_TRUE_P (fill))
+ else if (SCM_EQ_P (fill, SCM_BOOL_T))
{
if (base % SCM_LONG_BIT)
ve[i++] |= ~0L << (base % SCM_LONG_BIT);
@@ -532,7 +532,7 @@ scm_array_fill_int (SCM ra, SCM fill, SCM ignore)
if (SCM_FALSEP (fill))
for (i = base; n--; i += inc)
ve[i / SCM_LONG_BIT] &= ~(1L << (i % SCM_LONG_BIT));
- else if (SCM_TRUE_P (fill))
+ else if (SCM_EQ_P (fill, SCM_BOOL_T))
for (i = base; n--; i += inc)
ve[i / SCM_LONG_BIT] |= (1L << (i % SCM_LONG_BIT));
else