Commit 8bc285a2 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(oblookup): Don't use XFASTINT blindly.

parent 0f8fe9a2
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment