From e4df093e6058c4338a1ea885d44fd0be7f032b8c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 10 Dec 2016 11:06:23 +0200 Subject: [PATCH] Fix building with check-lisp-object-type * src/thread.c (mark_one_thread): Use NILP to compare with m_saved_last_thing_searched, which is a Lisp object. Reported by Andreas Politz . --- src/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thread.c b/src/thread.c index dda262984c0..b2f8561f923 100644 --- a/src/thread.c +++ b/src/thread.c @@ -540,7 +540,7 @@ mark_one_thread (struct thread_state *thread) mark_object (thread->m_last_thing_searched); - if (thread->m_saved_last_thing_searched) + if (!NILP (thread->m_saved_last_thing_searched)) mark_object (thread->m_saved_last_thing_searched); } -- 2.39.5