aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 6e121212b14..28636ec776c 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -3986,8 +3986,14 @@ DEFUN ("gc-status", Fgc_status, Sgc_status, 0, 0, "",
3986static INLINE void 3986static INLINE void
3987mark_maybe_object (Lisp_Object obj) 3987mark_maybe_object (Lisp_Object obj)
3988{ 3988{
3989 void *po = (void *) XPNTR (obj); 3989 void *po;
3990 struct mem_node *m = mem_find (po); 3990 struct mem_node *m;
3991
3992 if (INTEGERP (obj))
3993 return;
3994
3995 po = (void *) XPNTR (obj);
3996 m = mem_find (po);
3991 3997
3992 if (m != MEM_NIL) 3998 if (m != MEM_NIL)
3993 { 3999 {