]> git.eshelyaron.com Git - emacs.git/commitdiff
(oblookup): Don't use XFASTINT blindly.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 Nov 2004 05:06:56 +0000 (05:06 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 Nov 2004 05:06:56 +0000 (05:06 +0000)
src/lread.c

index e87dba5312895c02e0da2892b9585a1e3d767a33..47512fd31973c90114bbeea7771ae41b503bf534 100644 (file)
@@ -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 */