summaryrefslogtreecommitdiff
path: root/src/lread.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2004-11-23 05:06:56 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2004-11-23 05:06:56 +0000
commit8bc285a288ee0d6db3a8350d6f62d51db350e2af (patch)
treeeb8aa32a3d3df990f875365b674196ee8611327e /src/lread.c
parent0f8fe9a26f2f11b85b3577f47372a860c9a0d53a (diff)
downloademacs-8bc285a288ee0d6db3a8350d6f62d51db350e2af.tar.gz
(oblookup): Don't use XFASTINT blindly.
Diffstat (limited to 'src/lread.c')
-rw-r--r--src/lread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c
index e87dba53128..47512fd3197 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -3276,7 +3276,7 @@ oblookup (obarray, ptr, size, size_byte)
hash %= obsize;
bucket = XVECTOR (obarray)->contents[hash];
oblookup_last_bucket_number = hash;
- if (XFASTINT (bucket) == 0)
+ if (EQ (bucket, make_number (0)))
;
else if (!SYMBOLP (bucket))
error ("Bad data in guts of obarray"); /* Like CADR error message */